Skip to content

Commit

Permalink
use node v22 in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
timhn-bm committed Sep 28, 2024
1 parent dc970d0 commit 2217f7d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .github/actions/setup-node/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: "Setup Node v22"
description: "Use Node v22"
runs:
using: "composite"
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.6
4 changes: 4 additions & 0 deletions .github/workflows/quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: "./.github/actions/setup-node"
- uses: "./.github/actions/setup-yarn"
- uses: "./.github/actions/node-modules-cache"

Expand All @@ -25,6 +26,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: "./.github/actions/setup-node"
- uses: "./.github/actions/setup-yarn"
- uses: "./.github/actions/node-modules-cache"

Expand All @@ -38,6 +40,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: "./.github/actions/setup-node"
- uses: "./.github/actions/setup-yarn"
- uses: "./.github/actions/node-modules-cache"

Expand All @@ -51,6 +54,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: "./.github/actions/setup-node"
- uses: "./.github/actions/setup-yarn"
- uses: "./.github/actions/node-modules-cache"

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"front:install": "yarn workspace @deezer-mp3/front install",
"front:build": "yarn workspace @deezer-mp3/front build",
"test": "yarn workspaces foreach -A run test",
"typecheck": "yarn workspaces foreach -At run typecheck",
"build": "yarn workspaces foreach -At run build"
"typecheck": "yarn workspaces foreach -A run typecheck",
"build": "yarn workspaces foreach -A run build"
},
"keywords": [],
"author": "",
Expand Down
3 changes: 2 additions & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@
},
"volta": {
"extends": "../../package.json"
}
},
"packageManager": "yarn@4.0.0"
}
3 changes: 2 additions & 1 deletion packages/front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@
},
"volta": {
"extends": "../../package.json"
}
},
"packageManager": "yarn@4.0.0"
}

0 comments on commit 2217f7d

Please sign in to comment.