diff --git a/.github/workflows/compressed-size-action.yml b/.github/workflows/compressed-size-action.yml index dfce78f1..278d0b2a 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 23a21dde..0ea40090 100644 --- a/.github/workflows/cr.yml +++ b/.github/workflows/cr.yml @@ -7,11 +7,11 @@ 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 - run: pnpm build - - run: pnpx pkg-pr-new publish './dist' --compact --template './examples/*' + - run: pnpm dlx pkg-pr-new publish './dist' --compact --template './examples/*' diff --git a/.github/workflows/lint-and-type.yml b/.github/workflows/lint-and-type.yml index db51b1d9..f13ceb80 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/publish.yml b/.github/workflows/publish.yml index 82e2cedd..8613b881 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 1001c477..98ef824c 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: Patch for DEV-ONLY if: ${{ matrix.env == 'development' }} diff --git a/.github/workflows/test-multiple-versions.yml b/.github/workflows/test-multiple-versions.yml index 5ea0edb7..e4187be6 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 36029e82..eb3104ad 100644 --- a/.github/workflows/test-old-typescript.yml +++ b/.github/workflows/test-old-typescript.yml @@ -31,8 +31,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: |