File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : Publish
2
2
on :
3
- push :
4
- branches :
5
- - latest
3
+ release :
4
+ types : [published]
6
5
7
6
jobs :
8
7
publish :
15
14
steps :
16
15
- uses : actions/checkout@v4
17
16
- uses : denoland/setup-deno@v2
17
+ - uses : actions/setup-node@v4
18
+ with :
19
+ node-version : ' 22.x'
20
+ registry-url : ' https://registry.npmjs.org'
18
21
- run : deno install
19
- - name : Build
22
+ - name : Build JSR
20
23
run : deno task build:deno
21
- - name : Publish
24
+ - name : Publish JSR
22
25
run : cd deno && deno publish
26
+ - name : Build npm
27
+ run : deno task build
28
+ - name : Publish npm
29
+ run : |
30
+ (cd packages/common && npm publish --provenance --access public)
31
+ (cd packages/bootstrap && npm publish --provenance --access public)
32
+ (cd packages/ts-morph && npm publish --provenance --access public)
33
+ env :
34
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments