diff --git a/.github/actions/setup-node/action.yaml b/.github/actions/setup-node/action.yaml new file mode 100644 index 0000000..db48805 --- /dev/null +++ b/.github/actions/setup-node/action.yaml @@ -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 diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index 89b3911..d6ee538 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -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" @@ -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" @@ -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" @@ -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" diff --git a/package.json b/package.json index e337d08..a107116 100644 --- a/package.json +++ b/package.json @@ -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": "", diff --git a/packages/api/package.json b/packages/api/package.json index 030f461..9601752 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -44,5 +44,6 @@ }, "volta": { "extends": "../../package.json" - } + }, + "packageManager": "yarn@4.0.0" } diff --git a/packages/front/package.json b/packages/front/package.json index 0a0092c..6fa1719 100644 --- a/packages/front/package.json +++ b/packages/front/package.json @@ -51,5 +51,6 @@ }, "volta": { "extends": "../../package.json" - } + }, + "packageManager": "yarn@4.0.0" }