Skip to content

v0.3.0

v0.3.0 #6

Workflow file for this run

name: Publish package
on:
release:
types: [created]
jobs:
publish:

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

View workflow run for this annotation

GitHub Actions / Publish package

Invalid workflow file

The workflow is not valid. .github/workflows/release-package.yml (Line: 8, Col: 3): The workflow must contain at least one job with no dependencies.
needs: build
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}