Skip to content

Merge pull request #23 from opentorc/staging #16

Merge pull request #23 from opentorc/staging

Merge pull request #23 from opentorc/staging #16

name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Automatic GitHub Release
uses: justincy/[email protected]
id: release
- uses: actions/setup-node@v4
if: steps.release.outputs.released == 'true'
with:
registry-url: 'https://npm.pkg.github.com'
- name: Publish
if: steps.release.outputs.released == 'true'
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}