From 99ec1f847ae355a9c7f7cd1ebb43c9c730875c60 Mon Sep 17 00:00:00 2001 From: Juan Picado Date: Sat, 2 Sep 2023 22:36:12 +0200 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc2fa8c2..54226e69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,9 @@ jobs: with: node-version-file: '.nvmrc' - name: Install pnpm - run: npm i pnpm@latest-8 -g + run: | + corepack enable + corepack prepare --activate pnpm@latest-8 - name: Install run: pnpm install --registry http://localhost:4873 lint: @@ -44,7 +46,9 @@ jobs: with: node-version-file: '.nvmrc' - name: Install pnpm - run: npm i pnpm@latest-8 -g + run: | + corepack enable + corepack prepare --activate pnpm@latest-8 - name: Install run: pnpm install --ignore-scripts - name: Lint @@ -67,13 +71,15 @@ jobs: # - name: untar packages # run: tar -xzvf pkg.tar.gz -C ${{ github.workspace }}/packages - name: Install pnpm - run: npm i pnpm@latest-8 -g + run: | + corepack enable + corepack prepare --activate pnpm@latest-8 - uses: actions/cache@v2 with: path: ~/.pnpm-store key: pnpm-${{ hashFiles('pnpm-lock.yaml') }} - name: Install - run: pnpm recursive install --frozen-lockfile --ignore-scripts + run: pnpm install --frozen-lockfile --ignore-scripts - name: build run: pnpm build - name: Test