Skip to content

v1.2.6

v1.2.6 #8

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts'
registry-url: 'https://registry.npmjs.org'
- name: Publish package to npmjs.com
run: npm ci
run: npm run build

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

View workflow run for this annotation

GitHub Actions / Publish

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 23, Col: 9): 'run' is already defined .github/workflows/publish.yml (Line: 24, Col: 9): 'run' is already defined
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish package to jsr.io
run: npx jsr publish