Skip to content

ci: add npm provenance support #167

ci: add npm provenance support

ci: add npm provenance support #167

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
runs-on: ubuntu-latest
name: Release
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v3
name: Checkout
with:
persist-credentials: false
- uses: actions/setup-node@v3
name: Install Node
with:
node-version: 18
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: pnpm audit signatures
- name: Release
env:
GH_TOKEN: ${{ secrets.DUCKTORS_PAT }}
NPM_TOKEN: ${{ secrets.DUCKTORS_NPM_TOKEN }}
run: pnpm dlx semantic-release