Skip to content

Commit de1cdcc

Browse files
committed
ci: clean up PR and CI workflow
This commit removes redundant configuration.
1 parent 3ab59d3 commit de1cdcc

File tree

2 files changed

+2
-27
lines changed

2 files changed

+2
-27
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,6 @@ jobs:
7878
subset: [npm, yarn, pnpm, esbuild]
7979
shard: [0, 1, 2, 3, 4, 5]
8080
exclude:
81-
# Exclude Node.js v18 when running on a PR
82-
- node: ${{ github.event_name != 'pull_request' && 'none' || '18' }}
83-
# Exclude Node.js v20 when running on a PR
84-
- node: ${{ github.event_name != 'pull_request' && 'none' || '20' }}
85-
# Exclude Windows when running on a PR
86-
- os: ${{ github.event_name != 'pull_request' && 'none' || 'windows-latest' }}
8781
# Skip yarn subset on Windows
8882
- os: windows-latest
8983
subset: yarn

.github/workflows/pr.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -105,29 +105,10 @@ jobs:
105105
strategy:
106106
fail-fast: false
107107
matrix:
108-
os: [ubuntu-latest, windows-latest]
109-
node: [18, 20, 22]
108+
os: [ubuntu-latest]
109+
node: [22]
110110
subset: [npm, yarn, pnpm, esbuild]
111111
shard: [0, 1, 2, 3, 4, 5]
112-
exclude:
113-
# Exclude Node.js v18 when running on a PR
114-
- node: ${{ github.event_name != 'pull_request' && 'none' || '18' }}
115-
# Exclude Node.js v20 when running on a PR
116-
- node: ${{ github.event_name != 'pull_request' && 'none' || '20' }}
117-
# Exclude Windows when running on a PR
118-
- os: ${{ github.event_name != 'pull_request' && 'none' || 'windows-latest' }}
119-
# Skip yarn subset on Windows
120-
- os: windows-latest
121-
subset: yarn
122-
# Skip pnpm subset on Windows
123-
- os: windows-latest
124-
subset: pnpm
125-
# Skip Node.js v18 tests on Windows
126-
- os: windows-latest
127-
node: 18
128-
# Skip Node.js v20 tests on Windows
129-
- os: windows-latest
130-
node: 20
131112
runs-on: ${{ matrix.os }}
132113
steps:
133114
- name: Initialize environment

0 commit comments

Comments
 (0)