Skip to content

Publish Node.js Package #22

Publish Node.js Package

Publish Node.js Package #22

Workflow file for this run

name: Publish Node.js Package
on:
release:
types: [published]
jobs:
lint:
uses: vlitejs/vlite/.github/workflows/lint.yml@main
npm:
needs: lint
uses: yoriiis/actions/.github/workflows/npm-publish.yml@main
with:
node-version: 20
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

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

View workflow run for this annotation

GitHub Actions / Publish Node.js Package

Invalid workflow file

The workflow is not valid. .github/workflows/npm-publish.yml (Line: 17, Col: 18): Invalid secret, NPM_TOKEN is not defined in the referenced workflow. .github/workflows/npm-publish.yml (Line: 11, Col: 3): Error calling workflow 'yoriiis/actions/.github/workflows/npm-publish.yml@main'. The workflow is requesting 'id-token: write', but is only allowed 'id-token: none'.