File tree Expand file tree Collapse file tree 3 files changed +11
-15
lines changed Expand file tree Collapse file tree 3 files changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- name : Checkout Repo
16
- uses : actions/checkout@master
16
+ uses : actions/checkout@v4
17
17
with :
18
18
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
19
19
fetch-depth : 0
20
20
21
- - name : Setup Node.js 14 .x
22
- uses : actions/setup-node@master
21
+ - name : Setup Node.js 22 .x
22
+ uses : actions/setup-node@v4
23
23
with :
24
- node-version : 14 .x
24
+ node-version : 22 .x
25
25
registry-url : ' https://registry.npmjs.org'
26
26
27
27
- name : Get yarn cache directory path
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
strategy :
14
14
matrix :
15
- node-version : [14 .x, 16 .x]
15
+ node-version : [18 .x, 20.x, 22 .x]
16
16
steps :
17
- - uses : actions/checkout@v2
17
+ - uses : actions/checkout@v4
18
18
19
19
- name : Setup Node ${{ matrix.node-version }}
20
- uses : actions/setup-node@v2
20
+ uses : actions/setup-node@v4
21
21
with :
22
22
node-version : ${{ matrix.node-version }}
23
23
cache : ' yarn'
31
31
- name : Lint
32
32
run : yarn lint
33
33
34
- - run : npm config set scripts-prepend-node-path true
35
-
36
34
- name : Test
37
35
run : yarn test
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ jobs:
16
16
git config --global core.autocrlf false
17
17
git config --global core.eol lf
18
18
19
- - uses : actions/checkout@v2
19
+ - uses : actions/checkout@v4
20
20
21
- - name : Setup Node 14 .x
22
- uses : actions/setup-node@v2
21
+ - name : Setup Node 22 .x
22
+ uses : actions/setup-node@v4
23
23
with :
24
- node-version : 14 .x
24
+ node-version : 22 .x
25
25
cache : ' yarn'
26
26
27
27
- name : Install dependencies
30
30
- name : Build
31
31
run : yarn build
32
32
33
- - run : npm config set scripts-prepend-node-path true
34
-
35
33
- name : Test
36
34
run : yarn test
You can’t perform that action at this time.
0 commit comments