diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fe37889e8..6f891b3c4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,8 +32,8 @@ jobs: ${{ runner.os }}-node-${{ matrix.node-version }}- ${{ runner.os }}-node- ${{ runner.os }}- - - name: Install pnpm - run: npm i -g pnpm + - name: Install pnpm v5 + run: npm i -g pnpm@5 - name: Install Dependencies run: pnpm install - run: pnpm run lint @@ -66,8 +66,8 @@ jobs: ${{ runner.os }}-node-${{ matrix.node-version }}- ${{ runner.os }}-node- ${{ runner.os }}- - - name: Install pnpm - run: npm i -g pnpm + - name: Install pnpm v5 + run: npm i -g pnpm@5 - name: Install Dependencies run: pnpm install - run: pnpm run test-only diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index dbe75226b..95053b537 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -53,7 +53,7 @@ jobs: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} run: | readonly CUSTOM_PUBLISH_SCRIPT_PATH=.github/workflows/publish.sh - npm i -g pnpm + npm i -g pnpm@5 pnpm install cd '${{ matrix.path-git-relative }}' pnpm run build --if-present