Skip to content

Commit

Permalink
fix: #120 update actions to use node 20 (#126)
Browse files Browse the repository at this point in the history
* fix(actions): bump action versions as needed
- build: actions/checkout@v2 -> actions/checkout@v4
- pages: actions/setup-node@v2, cache@v2, peaceiris/actions-gh-pages@v3 -> v4
* chore(package); bump node engine version
  • Loading branch information
iamtimleonard authored Dec 5, 2024
1 parent 03a4357 commit 81382f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
if: github.repository == 'philly-js-club/philly-js-club-website'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm build

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "20.2"

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -47,7 +47,7 @@ jobs:
echo "phillyjs.com" > out/CNAME
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./out
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@
"yaml-eslint-parser": "^1.2.3"
},
"engines": {
"node": ">=14"
"node": ">=20"
}
}

0 comments on commit 81382f4

Please sign in to comment.