Skip to content

release: v3.4.0

release: v3.4.0 #56

Workflow file for this run

name: Publish
on:
push:
tags:
- "v*"
permissions:
id-token: write
contents: write
jobs:
publish:
runs-on: ubuntu-latest
environment: Release
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
cache-dependency-path: "**/pnpm-lock.yaml"
- run: pnpm install --frozen-lockfile --prefer-offline
- run: pnpm build
- run: pnpm tnode scripts/publish.ts ${{ github.ref_name }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: ArnaudBarre/github-release@v1