Skip to content

Fix workflow reference root error #7

Fix workflow reference root error

Fix workflow reference root error #7

Workflow file for this run

name: Publish to npmjs
on:
- workflow_call
- release:
types: [created]
jobs:
publish-npm:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}