Skip to content

Commit 27e43a4

Browse files
committed
Update GitHub Actions workflows
- update actions/setup-node to fix extra 10 minute delay in CI - update Node.js - use version ranges instead of commit hashes to get future updates automatically (we already trust the GitHub Actions team) - remove actions/configure-pages as it doesn't do anything for us
1 parent 75ba170 commit 27e43a4

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,19 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
18+
uses: actions/checkout@v4
1919
with:
2020
persist-credentials: false
21-
- name: Setup GitHub Pages
22-
id: pages
23-
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b
2421
- name: Install Node.js
25-
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
22+
uses: actions/setup-node@v4
2623
with:
27-
node-version: 20
24+
node-version: 22
2825
- name: Install dependencies
2926
run: npm ci
3027
- name: Build
3128
run: npm run build
3229
- name: Upload artifact
33-
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa
30+
uses: actions/upload-pages-artifact@v3
3431
with:
3532
path: ./build
3633

@@ -46,4 +43,4 @@ jobs:
4643
steps:
4744
- name: Deploy to GitHub Pages
4845
id: deployment
49-
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e
46+
uses: actions/deploy-pages@v4

.github/workflows/validate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
9+
- uses: actions/checkout@v4
1010
with:
1111
persist-credentials: false
1212
- name: Install Node.js
13-
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
13+
uses: actions/setup-node@v4
1414
with:
15-
node-version: 20
15+
node-version: 22
1616
- run: npm ci
1717
- run: npm run build

0 commit comments

Comments
 (0)