Skip to content

Publish new release #13

Publish new release

Publish new release #13

Workflow file for this run

name: Publish new release
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
uses: actions/setup-node@v4

Check failure on line 10 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / Publish new release

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 10, Col: 9): 'uses' is already defined
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run build:lib
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}