Skip to content

Commit

Permalink
fix(github): enable pnpm before installing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge authored and rexxars committed Feb 14, 2024
1 parent 6e37d03 commit 0b572f1
Show file tree
Hide file tree
Showing 16 changed files with 68 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cli-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/depCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
with:
node-version: 18

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/docReport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 18

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e-ct.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e-pte.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
with:
node-version: 18

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
with:
node-version: 18

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/etl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 18

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/formatCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
with:
node-version: 18

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lint-fix-if-needed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/*

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lintPr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
with:
node-version: 18

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
if: ${{ github.ref_name == 'next' }}
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 18

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/pr-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 18

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/prettier-if-needed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/*

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/typeCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
with:
node-version: 18

- name: Install pnpm
run: corepack enable && pnpm --version

- name: Cache node modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down

0 comments on commit 0b572f1

Please sign in to comment.