Skip to content

.github/workflows/npm_publish.yml #1

.github/workflows/npm_publish.yml

.github/workflows/npm_publish.yml #1

Workflow file for this run

name: npm_publish
on:
release:
types: [published]
jobs:
publish:

Check failure on line 7 in .github/workflows/npm_publish.yml

View workflow run for this annotation

GitHub Actions / npm_publish

Invalid workflow file

The workflow is not valid. .github/workflows/npm_publish.yml (Line: 7, Col: 3): The workflow must contain at least one job with no dependencies.
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm init --scope=nosto -y
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPMJS_TOKEN }}
access: "public"
dry-run: false
check-version: true