Skip to content

Commit

Permalink
ci: use node 21 (#9327)
Browse files Browse the repository at this point in the history
needed because of Automattic/node-canvas#2377
  • Loading branch information
domoritz authored Apr 30, 2024
1 parent 1854385 commit a573af5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: latest
node-version: 21

- name: Install Node dependencies
run: yarn --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: latest
node-version: 21

- name: Install Node dependencies
run: yarn --frozen-lockfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-docs-and-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: latest
node-version: 21

- name: Install Node dependencies
run: yarn --frozen-lockfile
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: latest
node-version: 21

- name: Setup Pages
uses: actions/configure-pages@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: latest
node-version: 21

- name: Install Node dependencies
run: yarn --frozen-lockfile
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: latest
node-version: 21

- name: Install Node dependencies
run: yarn --frozen-lockfile
Expand All @@ -44,7 +44,7 @@ jobs:
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: latest
node-version: 21

- name: Install Node dependencies
run: yarn --frozen-lockfile
Expand Down Expand Up @@ -74,10 +74,12 @@ jobs:

test-cli:
name: CLI
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-13, windows-latest]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
Expand All @@ -86,7 +88,7 @@ jobs:
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: latest
node-version: 21

- name: Install Node dependencies
run: yarn --frozen-lockfile
Expand Down

0 comments on commit a573af5

Please sign in to comment.