diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1612b508..c753af6a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,6 +13,8 @@ jobs: uses: actions/checkout@v4 - name: Set up Node uses: actions/setup-node@v4 + - name: Enable Corepack + run: corepack enable - name: Install run: yarn - name: Lint @@ -26,8 +28,10 @@ jobs: uses: actions/checkout@v4 - name: Set up Node uses: actions/setup-node@v4 + - name: Enable Corepack + run: corepack enable - name: Install - run: yarn + run: yarn --no-immutable - name: Build run: yarn build @@ -46,8 +50,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + - name: Enable Corepack + run: corepack enable - name: Install - run: yarn + run: yarn --no-immutable - name: Unit Test run: yarn test:json - name: Report Coverage diff --git a/.yarnrc.yml b/.yarnrc.yml new file mode 100644 index 00000000..3186f3f0 --- /dev/null +++ b/.yarnrc.yml @@ -0,0 +1 @@ +nodeLinker: node-modules diff --git a/package.json b/package.json index cb89f867..eb61a9fd 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "type": "module", "private": true, - "packageManager": "yarn@1.22.19", + "packageManager": "yarn@4.5.2", "workspaces": [ "docs", "external/*",