File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change 5
5
branches : [main]
6
6
7
7
jobs :
8
- build :
9
- name : Build
8
+ main :
10
9
runs-on : ubuntu-latest
11
10
steps :
12
11
- name : Checkout
@@ -23,22 +22,12 @@ jobs:
23
22
working-directory : ./pkg
24
23
run : npm run build
25
24
26
- publish-npm :
27
- name : Publish to NPM registry
28
- runs-on : ubuntu-latest
29
- needs : [build]
30
- steps :
31
25
- name : Publish to registry
32
26
working-directory : ./pkg
33
27
run : npm publish --access public
34
28
env :
35
29
NODE_AUTH_TOKEN : ${{ secrets.NPM_ACCESS_TOKEN }}
36
-
37
- publish-github :
38
- name : Publish to GitHub Packages registry
39
- runs-on : ubuntu-latest
40
- needs : [build]
41
- steps :
30
+
42
31
- name : Publish to GitHub Packages registry
43
32
working-directory : ./pkg
44
33
run : npm publish --registry https://npm.pkg.github.com
You can’t perform that action at this time.
0 commit comments