Skip to content

chore: add id-token

chore: add id-token #4

Workflow file for this run

name: Npm
permissions:
id-token: write
contents: write
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
registry-url: https://registry.npmjs.org/
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: Build Project
run: pnpm build:lib
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NPM_CONFIG_PROVENANCE: true