Skip to content
This repository was archived by the owner on Nov 15, 2025. It is now read-only.

Commit 2eff812

Browse files
authored
ci: updates (#19)
1 parent 0da2197 commit 2eff812

File tree

5 files changed

+98
-98
lines changed

5 files changed

+98
-98
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ main ]
16+
branches: [main]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ main ]
19+
branches: [main]
2020
schedule:
21-
- cron: '34 4 * * 6'
21+
- cron: "34 4 * * 6"
2222

2323
jobs:
2424
analyze:
@@ -32,40 +32,40 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
language: [ 'javascript' ]
35+
language: ["javascript"]
3636
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
3737
# Learn more about CodeQL language support at https://git.io/codeql-language-support
3838

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

43-
# Initializes the CodeQL tools for scanning.
44-
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v2
46-
with:
47-
languages: ${{ matrix.language }}
48-
# If you wish to specify custom queries, you can do so here or in a config file.
49-
# By default, queries listed here will override any specified in a config file.
50-
# Prefix the list here with "+" to use these queries and those in the config file.
51-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
43+
# Initializes the CodeQL tools for scanning.
44+
- name: Initialize CodeQL
45+
uses: github/codeql-action/init@v3
46+
with:
47+
languages: ${{ matrix.language }}
48+
# If you wish to specify custom queries, you can do so here or in a config file.
49+
# By default, queries listed here will override any specified in a config file.
50+
# Prefix the list here with "+" to use these queries and those in the config file.
51+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5252

53-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54-
# If this step fails, then you should remove it and run the build manually (see below)
55-
- name: Autobuild
56-
uses: github/codeql-action/autobuild@v2
53+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54+
# If this step fails, then you should remove it and run the build manually (see below)
55+
- name: Autobuild
56+
uses: github/codeql-action/autobuild@v3
5757

58-
# ℹ️ Command-line programs to run using the OS shell.
59-
# 📚 https://git.io/JvXDl
58+
# ℹ️ Command-line programs to run using the OS shell.
59+
# 📚 https://git.io/JvXDl
6060

61-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62-
# and modify them (or add more) to build your code if your project
63-
# uses a compiled language
61+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62+
# and modify them (or add more) to build your code if your project
63+
# uses a compiled language
6464

65-
#- run: |
66-
# make bootstrap
67-
# make release
65+
#- run: |
66+
# make bootstrap
67+
# make release
6868

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

.github/workflows/lint.yml

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

.github/workflows/preview.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -22,34 +22,34 @@ concurrency:
2222
jobs:
2323
macos-install:
2424
name: MacOS Install
25-
runs-on: macos-12
25+
runs-on: macos-14
2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v5
2828
with:
2929
submodules: recursive
3030

31-
- uses: actions/setup-node@v3
31+
- uses: actions/setup-node@v6
3232
with:
33-
node-version: 20
33+
node-version-file: .nvmrc
3434

3535
- name: Cache node_modules
36-
uses: actions/cache@v3
36+
uses: actions/cache@v4
3737
id: cache-macos-node-modules
3838
with:
3939
path: |
4040
node_modules
4141
key: macos-modules-${{ hashFiles('yarn.lock') }}-${{ hashFiles('package.json') }}
4242

4343
- name: Cache Playwright binaries
44-
uses: actions/cache@v3
44+
uses: actions/cache@v4
4545
id: cache-macos-playwright
4646
with:
4747
path: |
4848
~/Library/Caches/ms-playwright
4949
key: macos-playwright-${{ hashFiles('yarn.lock') }}-${{ hashFiles('package.json') }}
5050

5151
- name: Cache Test Suites
52-
uses: actions/cache@v3
52+
uses: actions/cache@v4
5353
id: cache-macos-test-suites
5454
with:
5555
path: |
@@ -72,32 +72,32 @@ jobs:
7272
name: Windows Install
7373
runs-on: windows-2022
7474
steps:
75-
- uses: actions/checkout@v3
75+
- uses: actions/checkout@v5
7676
with:
7777
submodules: recursive
7878

79-
- uses: actions/setup-node@v3
79+
- uses: actions/setup-node@v6
8080
with:
81-
node-version: 20
81+
node-version-file: .nvmrc
8282

8383
- name: Cache node_modules
84-
uses: actions/cache@v3
84+
uses: actions/cache@v4
8585
id: cache-windows-node-modules
8686
with:
8787
path: |
8888
node_modules
8989
key: windows-modules-${{ hashFiles('yarn.lock') }}-${{ hashFiles('package.json') }}
9090

9191
- name: Cache Playwright binaries
92-
uses: actions/cache@v3
92+
uses: actions/cache@v4
9393
id: cache-windows-playwright
9494
with:
9595
path: |
9696
C:\Users\runneradmin\AppData\Local\ms-playwright
9797
key: windows-playwright-${{ hashFiles('yarn.lock') }}-${{ hashFiles('package.json') }}
9898

9999
- name: Cache Test Suites
100-
uses: actions/cache@v3
100+
uses: actions/cache@v4
101101
id: cache-windows-test-suites
102102
with:
103103
path: |
@@ -119,40 +119,40 @@ jobs:
119119
test-voiceover-preview:
120120
name: Playwright VoiceOver Reduced Tests (${{ matrix.shardIndex }} / 1)
121121
needs: macos-install
122-
runs-on: macos-12
122+
runs-on: macos-14
123123
strategy:
124124
fail-fast: false
125125
matrix:
126126
shardIndex: [1]
127127

128128
steps:
129-
- uses: actions/checkout@v3
129+
- uses: actions/checkout@v5
130130
with:
131131
submodules: recursive
132132

133-
- uses: actions/setup-node@v3
133+
- uses: actions/setup-node@v6
134134
with:
135-
node-version: 20
135+
node-version-file: .nvmrc
136136

137137
- name: Guidepup Setup
138-
uses: guidepup/setup-action@0.13.0
138+
uses: guidepup/setup-action@0.17.3
139139

140140
- name: Cache node_modules
141-
uses: actions/cache@v3
141+
uses: actions/cache@v4
142142
with:
143143
path: |
144144
node_modules
145145
key: macos-modules-${{ hashFiles('yarn.lock') }}-${{ hashFiles('package.json') }}
146146

147147
- name: Cache Playwright
148-
uses: actions/cache@v3
148+
uses: actions/cache@v4
149149
with:
150150
path: |
151151
~/Library/Caches/ms-playwright
152152
key: macos-playwright-${{ hashFiles('yarn.lock') }}-${{ hashFiles('package.json') }}
153153

154154
- name: Cache Test Suites
155-
uses: actions/cache@v3
155+
uses: actions/cache@v4
156156
with:
157157
path: |
158158
testSuites.json
@@ -190,33 +190,33 @@ jobs:
190190
shardIndex: [1]
191191

192192
steps:
193-
- uses: actions/checkout@v3
193+
- uses: actions/checkout@v5
194194
with:
195195
submodules: recursive
196196

197-
- uses: actions/setup-node@v3
197+
- uses: actions/setup-node@v6
198198
with:
199-
node-version: 20
199+
node-version-file: .nvmrc
200200

201201
- name: Guidepup Setup
202-
uses: guidepup/setup-action@0.13.0
202+
uses: guidepup/setup-action@0.17.3
203203

204204
- name: Cache node_modules
205-
uses: actions/cache@v3
205+
uses: actions/cache@v4
206206
with:
207207
path: |
208208
node_modules
209209
key: windows-modules-${{ hashFiles('yarn.lock') }}-${{ hashFiles('package.json') }}
210210

211211
- name: Cache Playwright
212-
uses: actions/cache@v3
212+
uses: actions/cache@v4
213213
with:
214214
path: |
215215
C:\Users\runneradmin\AppData\Local\ms-playwright
216216
key: windows-playwright-${{ hashFiles('yarn.lock') }}-${{ hashFiles('package.json') }}
217217

218218
- name: Cache Test Suites
219-
uses: actions/cache@v3
219+
uses: actions/cache@v4
220220
with:
221221
path: |
222222
testSuites.json
@@ -271,13 +271,13 @@ jobs:
271271
sudo apt-get autoremove -y
272272
sudo apt-get clean
273273
274-
- uses: actions/checkout@v3
274+
- uses: actions/checkout@v5
275275
with:
276276
submodules: recursive
277277

278-
- uses: actions/setup-node@v3
278+
- uses: actions/setup-node@v6
279279
with:
280-
node-version: 20
280+
node-version-file: .nvmrc
281281

282282
- name: Update Deployment Status - Start
283283
uses: bobheadxi/deployments@v1
@@ -293,7 +293,7 @@ jobs:
293293
path: ./playwright-report
294294

295295
- name: Cache node_modules
296-
uses: actions/cache@v3
296+
uses: actions/cache@v4
297297
id: cache-macos-node-modules
298298
with:
299299
path: |

0 commit comments

Comments
 (0)