Skip to content

Commit f7321ff

Browse files
committed
Bump CI node version to 20
1 parent aed028e commit f7321ff

File tree

7 files changed

+27
-26
lines changed

7 files changed

+27
-26
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
steps:
4747
- name: Checkout repository
48-
uses: actions/checkout@v3
48+
uses: actions/checkout@v4
4949

5050
# Initializes the CodeQL tools for scanning.
5151
- name: Initialize CodeQL

.github/workflows/deploy.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ jobs:
1414
env:
1515
CURSORLESS_REPO_ROOT: ${{ github.workspace }}
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
20-
- uses: pnpm/action-setup@v2
21-
- uses: actions/setup-node@v3
20+
- run: corepack enable
21+
- uses: actions/setup-node@v4
2222
with:
23-
node-version-file: package.json
24-
cache: pnpm
23+
node-version-file: .nvmrc
24+
cache: "pnpm"
2525
- run: pnpm --color install
2626
- run: pnpm --color compile
2727
- run: pnpm --color --filter '!cursorless-org' --filter '!cursorless-org-*' build
@@ -46,7 +46,7 @@ jobs:
4646
needs: publish-extension
4747
environment: production
4848
steps:
49-
- uses: actions/checkout@v3
49+
- uses: actions/checkout@v4
5050
with:
5151
fetch-depth: 0
5252
token: ${{ secrets.CURSORLESS_BOT_TOKEN }}

.github/workflows/pre-commit.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
name: Pre-commit
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- uses: actions/setup-python@v4
1919
with:
2020
python-version: 3.x
21-
- uses: pnpm/action-setup@v2
22-
- uses: actions/setup-node@v3
21+
- run: corepack enable
22+
- uses: actions/setup-node@v4
2323
with:
24-
node-version-file: package.json
25-
cache: pnpm
24+
node-version-file: .nvmrc
25+
cache: "pnpm"
2626
- run: pnpm --color install
2727
- uses: pre-commit/[email protected]
2828
- uses: pre-commit-ci/[email protected]

.github/workflows/test-docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
env:
1313
CURSORLESS_REPO_ROOT: ${{ github.workspace }}
1414
steps:
15-
- uses: actions/checkout@v3
16-
- uses: pnpm/action-setup@v2
17-
- uses: actions/setup-node@v3
15+
- uses: actions/checkout@v4
16+
- run: corepack enable
17+
- uses: actions/setup-node@v4
1818
with:
19-
node-version-file: package.json
20-
cache: pnpm
19+
node-version-file: .nvmrc
20+
cache: "pnpm"
2121
- run: bash -x scripts/build-and-assemble-website.sh

.github/workflows/test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
VSCODE_LOGS_DIR: ${{ github.workspace }}/artifacts/logs
2828
CURSORLESS_REPO_ROOT: ${{ github.workspace }}
2929
steps:
30-
- uses: actions/checkout@v3
31-
- uses: pnpm/action-setup@v2
32-
- uses: actions/setup-node@v3
30+
- uses: actions/checkout@v4
31+
- run: corepack enable
32+
- uses: actions/setup-node@v4
3333
with:
34-
node-version-file: package.json
35-
cache: pnpm
34+
node-version-file: .nvmrc
35+
cache: "pnpm"
3636
- run: mkdir -p "${{ env.VSCODE_CRASH_DIR }}" "${{ env.VSCODE_LOGS_DIR }}"
3737
shell: bash
3838
- run: pnpm --color install
@@ -55,19 +55,19 @@ jobs:
5555
- run: mv ${{ steps.createVsix.outputs.vsixPath }} cursorless-development.vsix
5656
if: runner.os == 'Linux' && matrix.vscode_version == 'stable'
5757
- name: Upload vsix
58-
uses: actions/upload-artifact@v3
58+
uses: actions/upload-artifact@v4
5959
if: runner.os == 'Linux' && matrix.vscode_version == 'stable'
6060
with:
6161
name: vsix
6262
path: cursorless-development.vsix
6363
- name: Archive logs
64-
uses: actions/upload-artifact@v3
64+
uses: actions/upload-artifact@v4
6565
with:
6666
name: logs
6767
path: ${{ env.VSCODE_LOGS_DIR }}
6868
if: failure()
6969
- name: Archive dumps
70-
uses: actions/upload-artifact@v3
70+
uses: actions/upload-artifact@v4
7171
with:
7272
name: dumps
7373
path: ${{ env.VSCODE_CRASH_DIR }}

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v20.11.0

cursorless-talon/.github/workflows/black.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ jobs:
66
lint:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v4
1010
- uses: psf/black@stable

0 commit comments

Comments
 (0)