Skip to content

Fix npm provenance permissions in GH actions #24

Fix npm provenance permissions in GH actions

Fix npm provenance permissions in GH actions #24

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.node-version'
- name: Publish
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_PUBLISH_TOKEN }}
provenance: true