diff --git a/.github/workflows/ci.build.yml b/.github/workflows/ci.build.yml index 1c76317..f7e7987 100644 --- a/.github/workflows/ci.build.yml +++ b/.github/workflows/ci.build.yml @@ -22,6 +22,10 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: install packages - run: yarn + run: | + corepack enable + yarn init -2 + yarn set version stable + yarn install - name: BUILD run: yarn build diff --git a/.github/workflows/ci.linters.yml b/.github/workflows/ci.linters.yml index 10cf103..1d8c391 100644 --- a/.github/workflows/ci.linters.yml +++ b/.github/workflows/ci.linters.yml @@ -22,6 +22,10 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: install packages - run: yarn + run: | + corepack enable + yarn init -2 + yarn set version stable + yarn install - name: BUILD run: yarn lint diff --git a/.yarnrc.yml b/.yarnrc.yml new file mode 100644 index 0000000..3186f3f --- /dev/null +++ b/.yarnrc.yml @@ -0,0 +1 @@ +nodeLinker: node-modules