diff --git a/.github/workflows/cr.yml b/.github/workflows/cr.yml index 4117bdd302..5820efc884 100644 --- a/.github/workflows/cr.yml +++ b/.github/workflows/cr.yml @@ -7,11 +7,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: corepack enable + - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: 'pnpm' - - run: pnpm install + cache-dependency-path: '**/pnpm-lock.yaml' + - run: pnpm install --frozen-lockfile - run: pnpm build - run: pnpm dlx pkg-pr-new publish './dist' --compact --template './examples/*'