File tree 2 files changed +31
-8
lines changed
2 files changed +31
-8
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and Publish
2
+ on :
3
+ push :
4
+ tags :
5
+ - v*
6
+ jobs :
7
+ test :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Checkout 🍔🍟🥤
11
+ uses : actions/checkout@v4
12
+ with :
13
+ persist-credentials : false
14
+
15
+ - name : Use Node.js 😂
16
+ uses : actions/setup-node@v4
17
+ with :
18
+ node-version : 18
19
+
20
+ - name : Test 🧪
21
+ run : |
22
+ npm ci
23
+ npm run check-ci
24
+
25
+ - name : Publish to NPM
26
+ uses : JS-DevTools/npm-publish@v3
27
+ with :
28
+ token : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Checkout 🍔🍟🥤
12
- uses : actions/checkout@v3
12
+ uses : actions/checkout@v4
13
13
with :
14
14
persist-credentials : false
15
15
16
16
- name : Use Node.js 😂
17
- uses : actions/setup-node@v3
17
+ uses : actions/setup-node@v4
18
18
with :
19
- node-version : 16
19
+ node-version : 18
20
20
21
21
- name : Test 🧪
22
22
run : |
23
23
npm ci
24
24
npm run check-ci
25
-
26
- - name : Publish to NPM
27
- uses : JS-DevTools/npm-publish@v1
28
- with :
29
- token : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments