Skip to content

Commit a44a0e8

Browse files
authored
Added the trusted publishing workflow (#1581)
Adapted from the workflow at: https://docs.npmjs.com/trusted-publishers
1 parent d6be3ee commit a44a0e8

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish Package
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
permissions:
9+
id-token: write
10+
11+
jobs:
12+
publish:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: '22'
20+
registry-url: 'https://registry.npmjs.org'
21+
22+
- run: npm ci
23+
- run: npm run compile
24+
- run: npm publish

0 commit comments

Comments
 (0)