Skip to content

chore: release v1.2.1 #8

chore: release v1.2.1

chore: release v1.2.1 #8

Workflow file for this run

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