Skip to content

Commit

Permalink
fix: add pnpm setup step to multiple workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
chimpdev committed Oct 23, 2024
1 parent 80b16dd commit 0e00334
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/client-validate-locale-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- uses: ./.github/actions/setup-node-env
with:
node-version: 20
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/eslint-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '18'


- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- uses: ./.github/actions/setup-node-env
with:
node-version: 18
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/eslint-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '18'


- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- uses: ./.github/actions/setup-node-env
with:
node-version: 18
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/eslint-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3


- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- uses: ./.github/actions/setup-node-env
with:
node-version: 18
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
needs: release-please
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- uses: ./.github/actions/setup-node-env
with:
node-version: 18
Expand All @@ -52,6 +56,10 @@ jobs:
needs: release-please
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- uses: ./.github/actions/setup-node-env
with:
node-version: 18
Expand All @@ -70,6 +78,10 @@ jobs:
needs: release-please
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- uses: ./.github/actions/setup-node-env
with:
node-version: 18
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/server-validate-locale-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- uses: ./.github/actions/setup-node-env
with:
node-version: 20
Expand Down

0 comments on commit 0e00334

Please sign in to comment.