Skip to content

Commit 6bd250a

Browse files
committed
Update integration test suite
1 parent 49fe237 commit 6bd250a

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

.github/workflows/integration.yml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ jobs:
4343
- name: argos
4444
repo: argos-ci/argos
4545
commands: |
46-
pnpm i -g pnpm
4746
pnpm install
4847
pnpm add -D -w $PKG_URL
4948
pnpm run knip
@@ -76,16 +75,6 @@ jobs:
7675
npm run lint:unused -- --cache
7776
npm run lint:unused -- --cache
7877
79-
- name: freeCodeCamp
80-
repo: freeCodeCamp/freeCodeCamp
81-
commands: |
82-
pnpm i -g pnpm
83-
pnpm install
84-
cp sample.env .env
85-
pnpm run --dir client create:env
86-
# No exit code, since freeCodeCamp project does not use Knip in CI
87-
pnpm run knip:all --no-exit-code
88-
8978
- name: mocha
9079
repo: mochajs/mocha
9180
commands: |
@@ -123,10 +112,23 @@ jobs:
123112
pnpm test:knip --cache
124113
pnpm test:knip --cache
125114
115+
- name: rolldown
116+
repo: rolldown/rolldown
117+
commands: |
118+
pnpm install
119+
pnpm add -D -w knip@$PKG_URL
120+
pnpm knip
121+
122+
- name: sentry
123+
repo: getsentry/sentry
124+
commands: |
125+
pnpm install
126+
pnpm dlx $PKG_URL
127+
126128
- name: slonik
127129
repo: gajus/slonik
128130
commands: |
129-
pnpm install
131+
pnpm install --no-frozen-lockfile
130132
pnpm dlx $PKG_URL
131133
132134
- name: TypeScript
@@ -139,6 +141,13 @@ jobs:
139141
steps:
140142
- uses: actions/checkout@v4
141143

144+
- name: Check out ${{ matrix.project.repo }}
145+
uses: actions/checkout@v4
146+
with:
147+
repository: ${{ matrix.project.repo }}
148+
path: ${{ matrix.project.name }}
149+
sparse-checkout: ${{ matrix.project.sparse-checkout }}
150+
142151
- uses: actions/setup-node@v4
143152
with:
144153
node-version: 20
@@ -147,14 +156,7 @@ jobs:
147156

148157
- uses: pnpm/action-setup@v4
149158
with:
150-
version: 8
151-
152-
- name: Check out ${{ matrix.project.repo }}
153-
uses: actions/checkout@v4
154-
with:
155-
repository: ${{ matrix.project.repo }}
156-
path: ${{ matrix.project.name }}
157-
sparse-checkout: ${{ matrix.project.sparse-checkout }}
159+
version: 10
158160

159161
- name: Run Knip in ${{ matrix.project.repo }}
160162
working-directory: ${{ matrix.project.name }}

0 commit comments

Comments
 (0)