Skip to content

Commit a2ae92e

Browse files
committed
ci: update workflows and node build version to lts
1 parent a2443e1 commit a2ae92e

File tree

7 files changed

+235
-335
lines changed

7 files changed

+235
-335
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/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@v5
12+
- uses: actions/setup-node@v6
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.yml

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

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
24

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@
3333
},
3434
"devDependencies": {
3535
"@types/jest": "^29.5.11",
36-
"@types/node": "^20.14.12",
37-
"@typescript-eslint/eslint-plugin": "^6.16.0",
38-
"@typescript-eslint/parser": "^6.16.0",
36+
"@types/node": "^24.10.1",
37+
"@typescript-eslint/eslint-plugin": "^8.5.0",
38+
"@typescript-eslint/parser": "^8.5.0",
3939
"eslint": "^8.56.0",
4040
"eslint-config-prettier": "^9.1.0",
4141
"jest": "^29.4.0",
42-
"rimraf": "^5.0.5",
42+
"rimraf": "^6.0.1",
4343
"ts-jest": "^29.2.3",
4444
"ts-node": "^10.9.2",
45-
"typescript": "^5.5.4"
45+
"typescript": "^5.6.2"
4646
},
4747
"dependencies": {
4848
"ffmpeg-static": "^5.2.0"

src/windows/record.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { mkdirSync, unlinkSync } from "fs";
22
import { dirname } from "path";
33
import { spawn } from "child_process";
44

5-
// eslint-disable-next-line @typescript-eslint/no-var-requires
5+
// eslint-disable-next-line @typescript-eslint/no-require-imports
66
const ffmpegPath = require("ffmpeg-static");
77

88
/**

0 commit comments

Comments
 (0)