Skip to content

Commit 9c61848

Browse files
committed
Move to Node 20
The runners currently use Node 18. This gives me better control.
1 parent eec3eb9 commit 9c61848

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

.github/workflows/deploy.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@ jobs:
1414
deploy:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- run: git clone --depth=1 "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" .
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
1821
- run: npm ci
1922
- run: npm run build
2023
- uses: MithrilJS/infra/deploy@main
2124
with:
22-
type: gh-pages
25+
type: github-pages
2326
token: ${{ secrets.DEPLOY_TOKEN }}
2427
root_dir: ${{ github.workspace }}/dist

.github/workflows/push-gh-pages.yml

-10
This file was deleted.

.github/workflows/test.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ jobs:
1818
test:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- run: git clone --depth=1 "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" .
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: 20
2225
- run: npm ci
2326
- run: npm run lint
2427
- run: npm run build

0 commit comments

Comments
 (0)