diff --git a/.github/workflows/bundle-size.yml b/.github/workflows/bundle-size.yml index 1ae04cab8..c523ba4d3 100644 --- a/.github/workflows/bundle-size.yml +++ b/.github/workflows/bundle-size.yml @@ -11,6 +11,7 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2.2.2 - uses: preactjs/compressed-size-action@v2 with: build-script: 'build' diff --git a/.github/workflows/docs-hosting-main.yml b/.github/workflows/docs-hosting-main.yml index 9607fae7a..0ffb72e26 100644 --- a/.github/workflows/docs-hosting-main.yml +++ b/.github/workflows/docs-hosting-main.yml @@ -32,6 +32,7 @@ jobs: with: node-version-file: '.node-version' cache: pnpm + - uses: pnpm/action-setup@v2.2.2 # charcoal packages - run: pnpm install --frozen-lockfile - run: pnpm build diff --git a/.github/workflows/docs-hosting-pr.yml b/.github/workflows/docs-hosting-pr.yml index 3f9c7fcbf..0d999b665 100644 --- a/.github/workflows/docs-hosting-pr.yml +++ b/.github/workflows/docs-hosting-pr.yml @@ -37,6 +37,7 @@ jobs: with: node-version-file: '.node-version' cache: pnpm + - uses: pnpm/action-setup@v2.2.2 # charcoal packages - run: pnpm install --frozen-lockfile - run: pnpm build diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 8c0c7f9dc..a212a0922 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -17,6 +17,7 @@ jobs: with: node-version-file: '.node-version' cache: pnpm + - uses: pnpm/action-setup@v2.2.2 - name: Prepare deps run: | diff --git a/.github/workflows/icons.yml b/.github/workflows/icons.yml index 9e9f5999e..ff037b406 100644 --- a/.github/workflows/icons.yml +++ b/.github/workflows/icons.yml @@ -20,6 +20,8 @@ jobs: node-version-file: '.node-version' cache: pnpm + - uses: pnpm/action-setup@v2.2.2 + - name: Prepare deps run: | pnpm install --immutable --inline-builds diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cfe150261..6096bc6f3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,8 @@ jobs: node-version-file: '.node-version' cache: pnpm + - uses: pnpm/action-setup@v2.2.2 + - run: pnpm install --immutable --inline-builds - run: pnpm build @@ -31,6 +33,8 @@ jobs: node-version-file: '.node-version' cache: pnpm + - uses: pnpm/action-setup@v2.2.2 + - run: pnpm install --frozen-lockfile - run: pnpm build - run: pnpm build-storybook @@ -45,6 +49,8 @@ jobs: node-version-file: '.node-version' cache: pnpm + - uses: pnpm/action-setup@v2.2.2 + - run: pnpm install --frozen-lockfile - run: pnpm build - run: pnpm build-storybook @@ -61,6 +67,8 @@ jobs: node-version-file: '.node-version' cache: pnpm + - uses: pnpm/action-setup@v2.2.2 + - run: pnpm install --frozen-lockfile - run: pnpm test @@ -73,6 +81,8 @@ jobs: node-version-file: '.node-version' cache: pnpm + - uses: pnpm/action-setup@v2.2.2 + - run: pnpm install --frozen-lockfile - run: pnpm lint @@ -85,6 +95,8 @@ jobs: node-version-file: '.node-version' cache: pnpm + - uses: pnpm/action-setup@v2.2.2 + - run: pnpm install --frozen-lockfile - run: pnpm build - run: pnpm typecheck @@ -98,5 +110,7 @@ jobs: node-version-file: '.node-version' cache: pnpm + - uses: pnpm/action-setup@v2.2.2 + - run: pnpm install --frozen-lockfile - run: pnpm typecheck:config diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index e26f4af0a..92d1670d1 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -20,6 +20,8 @@ jobs: node-version-file: '.node-version' cache: pnpm + - uses: pnpm/action-setup@v2.2.2 + - name: Prepare deps run: | pnpm install --frozen-lockfile