Skip to content

Commit 2d146f5

Browse files
committed
chore: sync and upgrade some actions versions
1 parent 54d66b1 commit 2d146f5

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

.github/workflows/cypress.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
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

.github/workflows/index.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/lighthouse.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)