Skip to content

Commit

Permalink
Upgrade to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMitchL committed Mar 31, 2024
1 parent 691c850 commit 8d9a0d9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: 'Create env file'
run: |
echo "GH_PAT=${{ secrets.GH_PAT }}" > .env
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'npm'
- name: Install deps
run: npm ci
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
deployments: write
name: Publish to Cloudflare Pages
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: 'Create env file'
run: |
echo "GH_PAT=${{ secrets.GH_PAT }}" > .env
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'npm'
- name: Install deps
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
]
},
"engines": {
"node": ">=18.13.0"
"node": ">=20.12.0"
},
"browserslist": [
"> 0.5%",
Expand Down

0 comments on commit 8d9a0d9

Please sign in to comment.