Skip to content

npm skip checks

npm skip checks #2

Workflow file for this run

# GitHub Actions example

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

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

(Line: 10, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual 'actions/checkout', (Line: 11, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual 'actions/setup-node'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write # For git operations
id-token: write # < REQUIRED FOR OIDC
steps:
- uses: actions/checkout
- uses: actions/setup-node
with:
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
# OIDC requires npm v11.5.1 or later
# Node.js v20 comes with v10.8, so we need to update it:
- run: npm install -g npm@latest
- run: npm ci
- run: npx release-it --ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}