Skip to content

Commit c2845ce

Browse files
authored
chore: upgrade node and pnpm (#34)
* chore: upgrade astro version * ci: use node version set in package.json * chore: keep packageManager version only in root * ci: use pnpm version set in package.json * chore: set node version on package.json * ci: upgrade actions used on workflow * chore: set node version on website package.json
1 parent edd85df commit c2845ce

File tree

4 files changed

+39
-31
lines changed

4 files changed

+39
-31
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@ jobs:
1111
release:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4.1.3
1515

16-
- uses: pnpm/action-setup@v2
17-
with:
18-
version: 8.7.6
16+
- uses: pnpm/[email protected]
1917

20-
- uses: actions/setup-node@v3
18+
- uses: actions/setup-node@v4.0.2
2119
with:
22-
node-version: 18.18.0
20+
node-version-file: package.json
2321
cache: "pnpm"
2422

2523
- uses: dtinth/setup-github-actions-caching-for-turbo@v1

apps/website/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"private": true,
44
"version": "0.0.0",
55
"type": "module",
6+
"engines": {
7+
"node": "^20.12.2"
8+
},
69
"scripts": {
710
"dev": "astro dev",
811
"build": "astro build",
@@ -22,7 +25,7 @@
2225
"@tremor/react": "^3.8.1",
2326
"@types/react": "^18.0.21",
2427
"@types/react-dom": "^18.0.6",
25-
"astro": "^4.6.1",
28+
"astro": "^4.6.3",
2629
"astro-seo": "^0.8.3",
2730
"clsx": "^2.0.0",
2831
"graphql": "^16.8.1",
@@ -57,6 +60,5 @@
5760
"tailwindcss-3d": "^1.0.1",
5861
"typescript": "^5.2.2",
5962
"unplugin-icons": "^0.17.0"
60-
},
61-
"packageManager": "[email protected]+sha256.50783dd0fa303852de2dd1557cd4b9f07cb5b018154a6e76d0f40635d6cee019"
63+
}
6264
}

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"name": "folks-router",
33
"private": true,
4+
"engines": {
5+
"node": "^20.12.2"
6+
},
47
"scripts": {
58
"build": "turbo run build",
69
"dev": "turbo run dev",

pnpm-lock.yaml

Lines changed: 27 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)