mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
ci: no need to build tests on PR branches (#1348)
This commit is contained in:
1 parent
aee733d250
commit
c1c2a01135
2 files changed
+4
-2
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
[alias]
|
||||
# Do not append `--` or it will break IDEs
|
||||
ck = "check --workspace --all-targets --all-features --locked"
|
||||
ck = "check --workspace --all-targets --locked"
|
||||
lint = "clippy --workspace --all-targets --all-features"
|
||||
codecov = "llvm-cov --workspace --ignore-filename-regex tasks"
|
||||
coverage = "run -p oxc_coverage --release --"
|
||||
|
||||
@@ -42,8 +42,10 @@ jobs:
|
||||
- name: Cargo check
|
||||
run: cargo ck
|
||||
|
||||
# Only need to build the test to create a warm cache on the main branch
|
||||
- name: Build cache by Cargo Check and Cargo Test
|
||||
run: cargo test run --no-run --workspace --all-features
|
||||
if: ${{ github.ref_name == 'main' }}
|
||||
run: cargo test run --no-run --workspace
|
||||
|
||||
wasm:
|
||||
name: Check Wasm
|
||||
|
||||
Reference in new issue
Block a user