diff --git a/.github/workflows/compressed-size-action.yml b/.github/workflows/compressed-size-action.yml index dfce78f10b..278d0b2a01 100644 --- a/.github/workflows/compressed-size-action.yml +++ b/.github/workflows/compressed-size-action.yml @@ -12,7 +12,6 @@ jobs: with: node-version: 20 cache: 'pnpm' - cache-dependency-path: '**/pnpm-lock.yaml' - uses: preactjs/compressed-size-action@v2 with: pattern: './dist/**/*.{js,mjs}' diff --git a/.github/workflows/cr.yml b/.github/workflows/cr.yml index 4117bdd302..0ea400905e 100644 --- a/.github/workflows/cr.yml +++ b/.github/workflows/cr.yml @@ -7,7 +7,7 @@ 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 diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index a2d67b6a00..57fc1511ce 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -17,8 +17,7 @@ jobs: with: node-version: 22 cache: 'pnpm' - cache-dependency-path: '**/pnpm-lock.yaml' - - run: pnpm install --frozen-lockfile + - run: pnpm install - name: Get Short SHA id: short_sha run: | diff --git a/.github/workflows/lint-and-type.yml b/.github/workflows/lint-and-type.yml index db51b1d985..f13ceb8058 100644 --- a/.github/workflows/lint-and-type.yml +++ b/.github/workflows/lint-and-type.yml @@ -16,8 +16,7 @@ jobs: with: node-version: 20 cache: 'pnpm' - cache-dependency-path: '**/pnpm-lock.yaml' - - run: pnpm install --frozen-lockfile + - run: pnpm install - run: pnpm test:format - run: pnpm test:types - run: pnpm test:lint diff --git a/.github/workflows/livecodes-preview.yml b/.github/workflows/livecodes-preview.yml index 46490360ea..e50ab1b21f 100644 --- a/.github/workflows/livecodes-preview.yml +++ b/.github/workflows/livecodes-preview.yml @@ -12,9 +12,8 @@ jobs: with: node-version: 20 cache: 'pnpm' - cache-dependency-path: '**/pnpm-lock.yaml' - uses: live-codes/preview-in-livecodes@v1 with: - install-command: pnpm install --frozen-lockfile + install-command: pnpm install build-command: pnpm build base-url: 'https://{{LC::REF}}.preview-in-livecodes-demo.pages.dev' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 82e2cedd4d..8613b881d3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,8 +15,7 @@ jobs: node-version: 20 registry-url: 'https://registry.npmjs.org' cache: 'pnpm' - cache-dependency-path: '**/pnpm-lock.yaml' - - run: pnpm install --frozen-lockfile + - run: pnpm install - run: pnpm test - run: pnpm build - run: npm publish diff --git a/.github/workflows/test-multiple-builds.yml b/.github/workflows/test-multiple-builds.yml index cac3b5cd25..f1dff4d44e 100644 --- a/.github/workflows/test-multiple-builds.yml +++ b/.github/workflows/test-multiple-builds.yml @@ -21,8 +21,7 @@ jobs: with: node-version: 20 cache: 'pnpm' - cache-dependency-path: '**/pnpm-lock.yaml' - - run: pnpm install --frozen-lockfile + - run: pnpm install - run: pnpm build - name: Use React 17 for production test if: ${{ matrix.env == 'production' }} diff --git a/.github/workflows/test-multiple-versions.yml b/.github/workflows/test-multiple-versions.yml index 8b4b3a48ac..8c5f3eae93 100644 --- a/.github/workflows/test-multiple-versions.yml +++ b/.github/workflows/test-multiple-versions.yml @@ -16,8 +16,7 @@ jobs: with: node-version: 20 cache: 'pnpm' - cache-dependency-path: '**/pnpm-lock.yaml' - - run: pnpm install --frozen-lockfile + - run: pnpm install - run: pnpm build # we don't have any other workflows to test build - run: pnpm test:spec diff --git a/.github/workflows/test-old-typescript.yml b/.github/workflows/test-old-typescript.yml index 9445b65057..8c778b7a93 100644 --- a/.github/workflows/test-old-typescript.yml +++ b/.github/workflows/test-old-typescript.yml @@ -38,8 +38,7 @@ jobs: with: node-version: 20 cache: 'pnpm' - cache-dependency-path: '**/pnpm-lock.yaml' - - run: pnpm install --frozen-lockfile + - run: pnpm install - run: pnpm build - name: Patch for all TS run: |