We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07d634f commit 5bc7cbbCopy full SHA for 5bc7cbb
.github/workflows/publish.yaml
@@ -0,0 +1,33 @@
1
+name: Publish
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
11
+ permissions:
12
+ contents: read
13
+ id-token: write
14
15
+ steps:
16
+ - uses: actions/checkout@v4
17
18
+ - name: Setup Node.js
19
+ uses: actions/setup-node@v4
20
+ with:
21
+ node-version: "20"
22
23
+ - name: Install dependencies
24
+ run: npm ci
25
26
+ - name: Run tests
27
+ run: npm test
28
29
+ - name: Run type checking
30
+ run: npm run typecheck
31
32
+ - name: Publish package
33
+ run: npx jsr publish
0 commit comments