Skip to content

Publish Package to npmjs #211

Publish Package to npmjs

Publish Package to npmjs #211

Workflow file for this run

name: Publish Package to npmjs
on:
workflow_run:
workflows:
- "Run Tests"
branches: ["canary", "*.x"]
types:
- completed
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: "22.x"
cache: "npm"
registry-url: "https://registry.npmjs.org"
- name: Install Dependencies
run: npm ci
- name: Audit Signatures
run: npm audit signatures
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run release