Skip to content

Commit

Permalink
ci: don't specify pnpm version
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Apr 19, 2023
1 parent 26197d0 commit 221144b
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 25 deletions.
4 changes: 1 addition & 3 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ runs:
using: "composite"
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: ${{ matrix.pnpm-version }}
- uses: pnpm/action-setup@v2
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
strategy:
matrix:
node-version: [18]
pnpm-version: [7]
steps:
- uses: actions/checkout@v3
- name: Setup
Expand All @@ -26,7 +25,6 @@ jobs:
strategy:
matrix:
node-version: [18]
pnpm-version: [7]
steps:
- uses: actions/checkout@v3
- name: Setup
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
strategy:
matrix:
node-version: [18]
pnpm-version: [7]
steps:
- uses: actions/checkout@v3
- name: Setup
Expand All @@ -29,7 +28,6 @@ jobs:
strategy:
matrix:
node-version: [18]
pnpm-version: [7]
steps:
- uses: actions/checkout@v3
- name: Setup
Expand Down Expand Up @@ -59,7 +57,6 @@ jobs:
strategy:
matrix:
node-version: [18]
pnpm-version: [7]
steps:
- uses: actions/checkout@v3
- name: Setup
Expand All @@ -74,7 +71,6 @@ jobs:
strategy:
matrix:
node-version: [18]
pnpm-version: [7]
shard: [1, 2, 3]
total-shards: [3]
transport-mode: ['http', 'webSocket']
Expand Down Expand Up @@ -112,7 +108,6 @@ jobs:
strategy:
matrix:
node-version: [18]
pnpm-version: [7]
steps:
- uses: actions/checkout@v3
- name: Setup
Expand All @@ -129,7 +124,6 @@ jobs:
strategy:
matrix:
node-version: [18]
pnpm-version: [7]
steps:
- uses: actions/checkout@v3
- name: Setup
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,11 @@ jobs:
strategy:
matrix:
node-version: [18]
pnpm-version: [7]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/[email protected]
with:
version: ${{ matrix.pnpm-version }}
- uses: pnpm/action-setup@v2
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,13 @@ jobs:
strategy:
matrix:
node-version: [18]
pnpm-version: [7]
steps:
- uses: actions/checkout@v3
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- uses: pnpm/[email protected]
with:
version: ${{ matrix.pnpm-version }}
- uses: pnpm/action-setup@v2
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ jobs:
strategy:
matrix:
node-version: [18]
pnpm-version: [7]
steps:
- uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- uses: preactjs/compressed-size-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
5 changes: 1 addition & 4 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,14 @@ jobs:
strategy:
matrix:
node-version: [18]
pnpm-version: [7]
steps:
- uses: actions/checkout@v3
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- uses: pnpm/[email protected]
with:
version: ${{ matrix.pnpm-version }}
- uses: pnpm/action-setup@v2
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 221144b

Please sign in to comment.