File tree Expand file tree Collapse file tree 3 files changed +32
-4
lines changed Expand file tree Collapse file tree 3 files changed +32
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ validate :
9
+ name : Release
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout repo
13
+ uses : actions/checkout@v4
14
+
15
+ - name : Setup node
16
+ uses : actions/setup-node@v4
17
+ with :
18
+ node-version-file : " .nvmrc"
19
+
20
+ - name : Install dependencies
21
+ run : npm ci
22
+
23
+ - name : Setup npm auth
24
+ run : |
25
+ echo "registry=https://registry.npmjs.org" >> ~/.npmrc
26
+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
27
+
28
+ - name : Publish
29
+ run : npm publish
Original file line number Diff line number Diff line change 17
17
uses : actions/setup-node@v4
18
18
with :
19
19
node-version-file : " .nvmrc"
20
-
20
+
21
21
- name : Install dependencies
22
22
run : npm install
23
-
23
+
24
24
- name : Run validations
25
25
run : npm run validate
Original file line number Diff line number Diff line change 68
68
"typescript" : " ^5.3.3"
69
69
},
70
70
"publishConfig" : {
71
- "access" : " public" ,
72
- "provenance" : true
71
+ "access" : " public"
73
72
},
74
73
"engines" : {
75
74
"node" : " >=18.0.0"
You can’t perform that action at this time.
0 commit comments