@@ -18,15 +18,15 @@ jobs:
1818 name : Lint code
1919 runs-on : ubuntu-latest
2020 steps :
21- - uses : actions/checkout@v2
21+ - uses : actions/checkout@v3
2222 - name : Use Node.js
23- uses : actions/setup-node@v1
23+ uses : actions/setup-node@v3
2424 with :
25- node-version : 14.x
25+ node-version : lts/*
2626 - name : Get yarn cache directory path
2727 id : yarn-cache-dir-path
2828 run : echo "::set-output name=dir::$(yarn cache dir)"
29- - uses : actions/cache@v2
29+ - uses : actions/cache@v3
3030 id : yarn-cache
3131 with :
3232 path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -40,17 +40,17 @@ jobs:
4040 runs-on : ubuntu-latest
4141 strategy :
4242 matrix :
43- node-version : [14.x, 15.x ]
43+ node-version : [lts/*, current ]
4444 steps :
45- - uses : actions/checkout@v2
45+ - uses : actions/checkout@v3
4646 - name : Use Node.js ${{ matrix.node-version }}
47- uses : actions/setup-node@v1
47+ uses : actions/setup-node@v3
4848 with :
4949 node-version : ${{ matrix.node-version }}
5050 - name : Get yarn cache directory path
5151 id : yarn-cache-dir-path
5252 run : echo "::set-output name=dir::$(yarn cache dir)"
53- - uses : actions/cache@v2
53+ - uses : actions/cache@v3
5454 id : yarn-cache
5555 with :
5656 path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -60,20 +60,20 @@ jobs:
6060 - run : yarn dev
6161 - run : yarn test
6262 - name : Codecov
63- uses : codecov/codecov-action@v1
63+ uses : codecov/codecov-action@v3
6464 verify-website :
6565 name : Verify website
6666 runs-on : ubuntu-latest
6767 steps :
68- - uses : actions/checkout@v2
68+ - uses : actions/checkout@v3
6969 - name : Use Node.js
70- uses : actions/setup-node@v1
70+ uses : actions/setup-node@v3
7171 with :
72- node-version : 14.x
72+ node-version : lts/*
7373 - name : Get yarn cache directory path
7474 id : yarn-cache-dir-path
7575 run : echo "::set-output name=dir::$(yarn cache dir)"
76- - uses : actions/cache@v2
76+ - uses : actions/cache@v3
7777 id : yarn-cache
7878 with :
7979 path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -92,16 +92,16 @@ jobs:
9292 - verify-website
9393 if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
9494 steps :
95- - uses : actions/checkout@v2
95+ - uses : actions/checkout@v3
9696 - name : Use Node.js
97- uses : actions/setup-node@v1
97+ uses : actions/setup-node@v3
9898 with :
99- node-version : 14.x
99+ node-version : lts/*
100100 registry-url : ' https://registry.npmjs.org'
101101 - name : Get yarn cache directory path
102102 id : yarn-cache-dir-path
103103 run : echo "::set-output name=dir::$(yarn cache dir)"
104- - uses : actions/cache@v2
104+ - uses : actions/cache@v3
105105 id : yarn-cache
106106 with :
107107 path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -121,16 +121,16 @@ jobs:
121121 - verify-website
122122 if : github.ref == 'refs/heads/master'
123123 steps :
124- - uses : actions/checkout@v2
124+ - uses : actions/checkout@v3
125125 - name : Use Node.js
126- uses : actions/setup-node@v1
126+ uses : actions/setup-node@v3
127127 with :
128- node-version : 14.x
128+ node-version : lts/*
129129 registry-url : ' https://registry.npmjs.org'
130130 - name : Get yarn cache directory path
131131 id : yarn-cache-dir-path
132132 run : echo "::set-output name=dir::$(yarn cache dir)"
133- - uses : actions/cache@v2
133+ - uses : actions/cache@v3
134134 id : yarn-cache
135135 with :
136136 path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
0 commit comments