Skip to content

0.4.3-dev

0.4.3-dev #70

Workflow file for this run

name: Node.js Package
on:
release:
types: [created]
jobs:
publish-npm:

Check failure on line 8 in .github/workflows/npmpublish.yml

View workflow run for this annotation

GitHub Actions / Node.js Package

Invalid workflow file

The workflow is not valid. .github/workflows/npmpublish.yml (Line: 8, Col: 3): The workflow must contain at least one job with no dependencies.
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: cd sdk && npm version ${GITHUB_REF:10}
- run: cd sdk && npm ci
- run: cd sdk && npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}