Skip to content

Commit

Permalink
Update deps and actions (#39)
Browse files Browse the repository at this point in the history
* Update 'node' to '20.8.0' and 'pnpm' to '8.8.0'

* Update GH Action to be coherent with PR action

* Fix ci
  • Loading branch information
SpecialAro committed Sep 29, 2023
1 parent 33cad8d commit a08dd39
Show file tree
Hide file tree
Showing 5 changed files with 354 additions and 372 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ on:

jobs:
check-next-website:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Use Node.js specified in the '.nvmrc' file
uses: actions/setup-node@v3
with:
Expand All @@ -17,8 +19,6 @@ jobs:
- name: Install pnpm
run: npm i -gf "pnpm@$(node -p 'require("./package.json").engines.pnpm')" && pnpm -v

- uses: actions/checkout@v3

- run: pnpm install

- run: pnpm run lint
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/publish-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: pnpm/action-setup@v2.1.0
- uses: actions/checkout@v2

- name: Use Node.js specified in the '.nvmrc' file
uses: actions/setup-node@v3
with:
version: 7.1.0
node-version-file: ".nvmrc"

- uses: actions/checkout@v2
- name: Install pnpm
run: npm i -gf "pnpm@$(node -p 'require("./package.json").engines.pnpm')" && pnpm -v

- name: Install and Build 🔧
run: |
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.20.0
20.8.0
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"version": "1.0.0",
"private": true,
"engines": {
"pnpm": "7.1.0"
"node": "20.8.0",
"pnpm": "8.8.0"
},
"scripts": {
"dev": "next dev",
Expand Down
Loading

0 comments on commit a08dd39

Please sign in to comment.