Skip to content

Release

Release #29

Workflow file for this run

name: Release
on:
release:
types: [created]
if: ${{ github.event.workflow_run.conclusion == 'success' }}

Check failure on line 6 in .github/workflows/release-package.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release-package.yml (Line: 6, Col: 13): Unrecognized named-value: 'github'. Located at position 1 within expression: github.event.workflow_run.conclusion == 'success'
jobs:
publish:
needs: test
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/iron'
registry-url: https://npm.pkg.github.com/
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn publish --non-interactive
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}