-
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 925 Bytes
/
Copy pathrelease.yml
File metadata and controls
33 lines (29 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# IMPORTANT: DO NOT RENAME THIS FILE
# It uses npm Trusted Publishing to deploy without a token.
# The workflow name and filename must match what is configured on npmjs.com.
# See README "Release with Release Please" for setup instructions.
name: Release
on:
release:
types: [published]
workflow_dispatch:
permissions:
id-token: write # needed for npm publish with provenance
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v5
# https://github.com/pnpm/action-setup
- uses: pnpm/action-setup@v6
# https://github.com/actions/setup-node
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- run: pnpm install
- run: pnpm build
- run: pnpm publish --provenance --no-git-checks