diff --git a/.github/workflows/build-test-on-pr.yml b/.github/workflows/build-test-on-pr.yml index 737cb7c4d..87a2be0f9 100644 --- a/.github/workflows/build-test-on-pr.yml +++ b/.github/workflows/build-test-on-pr.yml @@ -27,10 +27,7 @@ jobs: with: node-version: '18.x' cache: 'pnpm' - - run: pnpm add -g pnpm - - - run: yarn install --frozen-lockfile - - run: pnpm install + - run: pnpm install --frozen-lockfile - run: pnpm build - name: run CI tests env: diff --git a/.github/workflows/build-test-publish-on-push.yml b/.github/workflows/build-test-publish-on-push.yml index 3321200f6..e39c5001f 100644 --- a/.github/workflows/build-test-publish-on-push.yml +++ b/.github/workflows/build-test-publish-on-push.yml @@ -39,7 +39,6 @@ jobs: with: node-version: '18.x' cache: 'pnpm' - - run: pnpm add -g pnpm - run: pnpm install - run: pnpm build - name: run CI tests @@ -73,12 +72,12 @@ jobs: - name: publish @latest when on main if: github.ref == 'refs/heads/main' - run: yarn publish:latest + run: pnpm publish:latest - name: publish @next when on develop if: github.ref == 'refs/heads/develop' - run: yarn publish:next + run: pnpm publish:next - name: publish @unstable when on unstable branch if: startsWith(github.ref, 'refs/heads/feat') - run: yarn publish:unstable + run: pnpm publish:unstable