@@ -14,37 +14,37 @@ jobs:
1414 strategy :
1515 matrix :
1616 os : [ubuntu-latest]
17- node-version : [18 ]
17+ node-version : [20 ]
1818
1919 steps :
20- - uses : actions/checkout@v4
21-
22- - name : Use Node.js ${{ matrix.node-version }}
23- uses : actions/setup-node@v3
24- with :
25- node-version : ${{ matrix.node-version }}
26-
27- - name : Get yarn cache directory path
28- id : yarn-cache-dir-path
29- run : echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
30-
31- - uses : actions/cache@v3
32- id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
33- with :
34- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
35- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
36- restore-keys : |
37- ${{ runner.os }}-yarn-
38-
39- - name : yarn install, build
40- run : |
41- yarn install
42- yarn build
43-
44- - name : test, report coverage
45- run : |
46- yarn verify-translation
47- yarn test
20+ - uses : actions/checkout@v4
21+
22+ - name : Use Node.js ${{ matrix.node-version }}
23+ uses : actions/setup-node@v3
24+ with :
25+ node-version : ${{ matrix.node-version }}
26+
27+ - name : Get yarn cache directory path
28+ id : yarn-cache-dir-path
29+ run : echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
30+
31+ - uses : actions/cache@v3
32+ id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
33+ with :
34+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
35+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
36+ restore-keys : |
37+ ${{ runner.os }}-yarn-
38+
39+ - name : yarn install, build
40+ run : |
41+ yarn install
42+ yarn build
43+
44+ - name : test, report coverage
45+ run : |
46+ yarn verify-translation
47+ yarn test
4848
4949# - uses: codecov/codecov-action@v1
5050# if: success() && matrix.os == 'ubuntu-latest'
0 commit comments