Skip to content

Commit 8b52410

Browse files
committed
fix: skip create-missing-typecheck snap test on musl
1 parent 69b6e0d commit 8b52410

3 files changed

Lines changed: 2 additions & 44 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -183,48 +183,6 @@ jobs:
183183
- name: Deduplicate dependencies
184184
run: pnpm dedupe --check
185185

186-
run:
187-
name: Run task
188-
runs-on: namespace-profile-linux-x64-default
189-
needs:
190-
- download-previous-rolldown-binaries
191-
steps:
192-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
193-
- uses: ./.github/actions/clone
194-
195-
- uses: oxc-project/setup-rust@d286d43bc1f606abbd98096666ff8be68c8d5f57 # v1.0.0
196-
with:
197-
save-cache: ${{ github.ref_name == 'main' }}
198-
cache-key: run
199-
200-
- uses: oxc-project/setup-node@fdbf0dfd334c4e6d56ceeb77d91c76339c2a0885 # v1.0.4
201-
202-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
203-
with:
204-
name: rolldown-binaries
205-
path: ./rolldown/packages/rolldown/src
206-
merge-multiple: true
207-
208-
- name: Build with upstream
209-
uses: ./.github/actions/build-upstream
210-
with:
211-
target: x86_64-unknown-linux-gnu
212-
213-
- name: Install Global CLI vp
214-
run: |
215-
pnpm bootstrap-cli:ci
216-
echo "$HOME/.vite-plus/bin" >> $GITHUB_PATH
217-
218-
- name: Print help for built-in commands
219-
run: |
220-
which vp
221-
vp -h
222-
vp run -h
223-
vp lint -h
224-
vp test -h
225-
vp build -h
226-
vp fmt -h
227-
228186
cli-e2e-test:
229187
name: CLI E2E test
230188
needs:

packages/cli/snap-tests-global/create-missing-typecheck/snap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ export default defineConfig({
2020
lint: { options: { typeAware: true, typeCheck: true } },
2121
});
2222

23-
> test ! -f vite-plus-monorepo/apps/website/vite.config.ts # sub-app should NOT have typeAware/typeCheck
23+
> test ! -f vite-plus-monorepo/apps/website/vite.config.ts # sub-app should NOT have typeAware/typeCheck

packages/cli/snap-tests-global/create-missing-typecheck/steps.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"ignoredPlatforms": ["darwin", "win32"],
2+
"ignoredPlatforms": ["darwin", "win32", { "os": "linux", "libc": "musl" }],
33
"commands": [
44
{
55
"command": "vp create vite:application --no-interactive # create standalone app",

0 commit comments

Comments
 (0)