File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed
Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 2222 with :
2323 node-version : ${{ matrix.node-version }}
2424 - name : Checkout repository
25- uses : actions/checkout@v2
25+ uses : actions/checkout@v4
2626 - name : Cypress run
27- uses : cypress-io/github-action@v2
27+ uses : cypress-io/github-action@v6
2828 with :
2929 build : npm run build
3030 start : npm start
Original file line number Diff line number Diff line change @@ -18,15 +18,19 @@ jobs:
1818 # The type of runner that the job will run on
1919 runs-on : ubuntu-latest
2020
21+ strategy :
22+ matrix :
23+ node-version : [16.x]
24+
2125 # Steps represent a sequence of tasks that will be executed as part of the job
2226 steps :
2327 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
24- - uses : actions/checkout@v2
28+ - uses : actions/checkout@v4
2529
2630 - name : Setup Node.js
27- uses : actions/setup-node@v2
31+ uses : actions/setup-node@v4
2832 with :
29- node-version : ' 16.x '
33+ node-version : ${{ matrix.node-version }}
3034
3135 - name : Cache dependencies
3236 uses : actions/cache@v4
Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ jobs:
1515 node-version : [16.x]
1616
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v4
1919 - uses : actions/cache@v4
2020 with :
2121 path : ~/.npm
2222 key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
2323 restore-keys : |
2424 ${{ runner.os }}-node-
2525 - name : Use Node.js ${{ matrix.node-version }}
26- uses : actions/setup-node@v2
26+ uses : actions/setup-node@v4
2727 with :
2828 node-version : ${{ matrix.node-version }}
2929 - name : Install dependencies
You can’t perform that action at this time.
0 commit comments