Skip to content

Commit dbc2689

Browse files
refactor: updating GH actions (#24)
* refactor: updating GH action Prevent the pipeline throwing an error: > Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ * Update test-voiceover.yml * Update test-voiceover.yml * Update publish.yml * Update test.yml * Update test-nvda.yml * Update publish.yml * Update codeql-analysis.yml * Update test.yml * Update test-nvda.yml * Update test-voiceover.yml * Update publish.yml * Update test-nvda.yml * Update test-voiceover.yml * Update test.yml * ci: dep upgrades --------- Co-authored-by: jlp-craigmorten <craig.morten@waitrose.co.uk>
1 parent f7779c0 commit dbc2689

File tree

5 files changed

+23
-23
lines changed

5 files changed

+23
-23
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v2
45+
uses: github/codeql-action/init@v3
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +53,7 @@ jobs:
5353
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5454
# If this step fails, then you should remove it and run the build manually (see below)
5555
- name: Autobuild
56-
uses: github/codeql-action/autobuild@v2
56+
uses: github/codeql-action/autobuild@v3
5757

5858
# ℹ️ Command-line programs to run using the OS shell.
5959
# 📚 https://git.io/JvXDl
@@ -67,5 +67,5 @@ jobs:
6767
# make release
6868

6969
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v2
70+
uses: github/codeql-action/analyze@v3
7171
continue-on-error: true

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
publish:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
1313
with:
14-
node-version: 20
14+
node-version-file: .nvmrc
1515
registry-url: https://registry.npmjs.org/
1616
always-auth: true
1717
- run: yarn install --frozen-lockfile

.github/workflows/test-nvda.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
os: [windows-2019, windows-2022]
14+
os: [windows-2022, windows-2025]
1515
browser: [chromium, firefox]
1616
steps:
17-
- uses: actions/checkout@v3
18-
- uses: actions/setup-node@v3
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
1919
with:
20-
node-version: 20
20+
node-version-file: .nvmrc
2121
- name: Guidepup Setup
22-
uses: guidepup/setup-action@0.17.2
22+
uses: guidepup/setup-action@0.17.3
2323
with:
2424
record: true
2525
- run: yarn install --frozen-lockfile
2626
- run: yarn pretest
2727
- run: yarn test:nvda:${{ matrix.browser }}
28-
- uses: actions/upload-artifact@v3
28+
- uses: actions/upload-artifact@v4
2929
if: always()
3030
continue-on-error: true
3131
with:
32-
name: artifacts
32+
name: artifacts-${{ matrix.os }}-${{ matrix.browser }}
3333
path: |
3434
**/test-results/**/*
3535
**/recordings/**/*

.github/workflows/test-voiceover.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ jobs:
1414
os: [macos-12, macos-13, macos-14]
1515
browser: [chromium, firefox, webkit]
1616
steps:
17-
- uses: actions/checkout@v3
18-
- uses: actions/setup-node@v3
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
1919
with:
20-
node-version: 20
20+
node-version-file: .nvmrc
2121
- name: Guidepup Setup
22-
uses: guidepup/setup-action@0.17.2
22+
uses: guidepup/setup-action@0.17.3
2323
with:
2424
record: true
2525
- run: yarn install --frozen-lockfile
2626
- run: yarn pretest
2727
- run: yarn test:voiceover:${{ matrix.browser }}
28-
- uses: actions/upload-artifact@v3
28+
- uses: actions/upload-artifact@v4
2929
if: always()
3030
continue-on-error: true
3131
with:
32-
name: artifacts
32+
name: artifacts-${{ matrix.os }}-${{ matrix.browser }}
3333
path: |
3434
**/test-results/**/*
3535
**/recordings/**/*

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
14-
- uses: actions/setup-node@v3
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
1515
with:
16-
node-version: 20
16+
node-version-file: .nvmrc
1717
- run: yarn install --frozen-lockfile
1818
- run: yarn ci

0 commit comments

Comments
 (0)