Skip to content

chore: release v0.6.1 #42

chore: release v0.6.1

chore: release v0.6.1 #42

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
release:
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: pnpm install
- name: PNPM build
run: pnpm run build
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.TOKEN}}
- name: Publish to NPM
run: pnpm run publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_CONFIG_PROVENANCE: true