Skip to content

3.1.9-beta.0

3.1.9-beta.0 #2

Workflow file for this run

name: npm publish
on:
release:
types: [released]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci
- run: npm test
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.npm }}
publish-npm:

Check failure on line 25 in .github/workflows/publish-npm.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-npm.yml

Invalid workflow file

You have an error in your yaml syntax on line 25
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.npm }}