Skip to content

publish

publish #1

Workflow file for this run

name: publish
on:
release:
types:
- created
jobs:
publish:
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
cache: npm
- run: npm ci
- run: |
npm version ${GITHUB_REF_NAME#v}
npm publish
with:

Check failure on line 22 in .github/workflows/publish.yaml

View workflow run for this annotation

GitHub Actions / publish

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yaml (Line: 22, Col: 9): Unexpected value 'with'
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}