This repository was archived by the owner on Jan 9, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +20
-18
lines changed
Expand file tree Collapse file tree 3 files changed +20
-18
lines changed Original file line number Diff line number Diff line change 11name : Lint
2-
3- on : [push, pull_request]
2+ on :
3+ push :
4+ pull_request :
45
56jobs :
67 eslint :
78 name : Lint
89 runs-on : ubuntu-latest
910 steps :
10- - uses : actions/checkout@v1
11+ - uses : actions/checkout@v3
1112
12- - uses : actions/setup-node@v1
13+ - uses : actions/setup-node@v3
1314 with :
14- node-version : 14 .x
15+ node-version : 18 .x
1516
1617 - name : npm install, build, and lint
1718 run : |
Original file line number Diff line number Diff line change 11name : Node.js CI
2-
3- on : [ push]
2+ on :
3+ push :
44
55jobs :
66 build :
77 runs-on : ubuntu-latest
88
99 strategy :
1010 matrix :
11- node-version : [10 .x, 12 .x, 14 .x]
11+ node-version : [14 .x, 16 .x, 18 .x]
1212
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v3
1515
1616 - name : Use Node.js ${{ matrix.node-version }}
17- uses : actions/setup-node@v1
17+ uses : actions/setup-node@v3
1818 with :
1919 node-version : ${{ matrix.node-version }}
2020
@@ -28,12 +28,12 @@ jobs:
2828 runs-on : ubuntu-latest
2929
3030 steps :
31- - uses : actions/checkout@v2
31+ - uses : actions/checkout@v3
3232
33- - name : Use Node.js 14 .x
34- uses : actions/setup-node@v1
33+ - name : Use Node.js 18 .x
34+ uses : actions/setup-node@v3
3535 with :
36- node-version : 14 .x
36+ node-version : 18 .x
3737
3838 - run : npm install
3939 - run : npm run build --if-present
Original file line number Diff line number Diff line change 33 push :
44 branches :
55 - master
6+
67jobs :
78 release :
89 name : Release
910 runs-on : ubuntu-latest
1011 steps :
1112 - name : Checkout
12- uses : actions/checkout@v2
13+ uses : actions/checkout@v3
1314 with :
1415 fetch-depth : 0
1516 - name : Setup Node.js
16- uses : actions/setup-node@v2
17+ uses : actions/setup-node@v3
1718 with :
18- node-version : 14
19+ node-version : 18
1920 - name : Install dependencies
2021 run : npm ci
2122 - name : Release
2223 env :
2324 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2425 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
25- run : npx semantic-release
26+ run : npx semantic-release
You can’t perform that action at this time.
0 commit comments