File tree Expand file tree Collapse file tree 1 file changed +7
-18
lines changed Expand file tree Collapse file tree 1 file changed +7
-18
lines changed Original file line number Diff line number Diff line change @@ -12,29 +12,18 @@ concurrency:
1212
1313jobs :
1414 deploy :
15- runs-on : ubuntu-20.04
15+ runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/checkout@v2
17+ - uses : actions/checkout@v4
1818
1919 - name : Setup Node
20- uses : actions/setup-node@v2
20+ uses : actions/setup-node@v4
2121 with :
22- node-version : ' 16'
22+ node-version : ' 22'
23+ cache : ' npm'
2324
24- - name : Get yarn cache
25- id : yarn-cache
26- run : echo "::set-output name=dir::$(yarn cache dir)"
27-
28- - name : Cache dependencies
29- uses : actions/cache@v2
30- with :
31- path : ${{ steps.yarn-cache.outputs.dir }}
32- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
33- restore-keys : |
34- ${{ runner.os }}-yarn-
35-
36- - run : yarn install --frozen-lockfile
37- - run : yarn build
25+ - run : npm ci
26+ - run : npm run build
3827
3928 - name : Deploy
4029 uses : peaceiris/actions-gh-pages@v3
You can’t perform that action at this time.
0 commit comments