77 runs-on : ubuntu-latest
88
99 steps :
10- - uses : actions/checkout@v3
11- - uses : actions/setup-node@v3
10+ - uses : actions/checkout@v4
11+ - uses : actions/setup-node@v4
1212 with :
1313 node-version : 20
1414
15- - uses : actions/cache@v3
15+ - uses : actions/cache@v4
1616 with :
1717 path : ' **/node_modules'
18- key : ${{ runner.os }}-modules-${{ hashFiles('**/yarn. lock') }}
18+ key : ${{ runner.os }}-modules-${{ hashFiles('**/package- lock.json ') }}
1919
2020 - name : Install deps
21- run : yarn --prefer-offline
21+ run : npm ci --prefer-offline
2222
23- - run : yarn test --silent --coverage
23+ - run : npm test -- --silent --coverage
2424
25- - uses : codecov/codecov-action@v3
25+ - uses : codecov/codecov-action@v4
2626 with :
2727 token : ${{ secrets.CODECOV_TOKEN }}
2828
2929 e2e-tests :
3030 runs-on : ubuntu-latest
3131
3232 steps :
33- - uses : actions/checkout@v3
34- - uses : actions/setup-node@v3
33+ - uses : actions/checkout@v4
34+ - uses : actions/setup-node@v4
3535 with :
3636 node-version : 20
3737
3838 - name : Run Cypress
39- uses : cypress-io/github-action@v5
39+ uses : cypress-io/github-action@v6
4040 with :
41- cache-key : ${{ runner.os }}-modules-${{ hashFiles('**/yarn. lock') }}
42- install-command : yarn --prefer-offline
43- start : yarn dev:e2e
41+ cache-key : ${{ runner.os }}-modules-${{ hashFiles('**/package- lock.json ') }}
42+ install-command : npm ci --prefer-offline
43+ start : npm run dev:e2e
4444 wait-on : ' http://127.0.0.1:8080'
4545 env :
4646 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -49,38 +49,38 @@ jobs:
4949 runs-on : ubuntu-latest
5050
5151 steps :
52- - uses : actions/checkout@v3
53- - uses : actions/setup-node@v3
52+ - uses : actions/checkout@v4
53+ - uses : actions/setup-node@v4
5454 with :
5555 node-version : 20
5656
57- - uses : actions/cache@v3
57+ - uses : actions/cache@v4
5858 with :
5959 path : ' **/node_modules'
60- key : ${{ runner.os }}-modules-${{ hashFiles('**/yarn. lock') }}
60+ key : ${{ runner.os }}-modules-${{ hashFiles('**/package- lock.json ') }}
6161
6262 - name : Install deps
63- run : yarn --prefer-offline
63+ run : npm ci --prefer-offline
6464
6565 - name : Build
66- run : yarn build
66+ run : npm run build
6767
6868 lint :
6969 runs-on : ubuntu-latest
7070
7171 steps :
72- - uses : actions/checkout@v3
73- - uses : actions/setup-node@v3
72+ - uses : actions/checkout@v4
73+ - uses : actions/setup-node@v4
7474 with :
7575 node-version : 20
7676
77- - uses : actions/cache@v3
77+ - uses : actions/cache@v4
7878 with :
7979 path : ' **/node_modules'
80- key : ${{ runner.os }}-modules-${{ hashFiles('**/yarn. lock') }}
80+ key : ${{ runner.os }}-modules-${{ hashFiles('**/package- lock.json ') }}
8181
8282 - name : Install deps
83- run : yarn --prefer-offline
83+ run : npm ci --prefer-offline
8484
8585 - name : Lint
86- run : yarn eslint
86+ run : npx eslint
0 commit comments