Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 0 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,6 @@ jobs:
target: wasm32-wasip1
components: rustfmt

- uses: denoland/setup-deno@11b63cf76cfcafb4e43f97b6cad24d8e8438f62d # v1.5.2
if: matrix.settings.crate != '__noop__' && matrix.settings.crate == 'swc_bundler'
with:
deno-version: v1.x

- name: Install node dependencies
if: matrix.settings.crate != '__noop__'
shell: bash
Expand Down Expand Up @@ -528,11 +523,6 @@ jobs:
# (cd tests/integration/redux/repo && pnpm install)
# TODO
# (cd tests/integration/redux/repo && npx jest '.*.js' --modulePathIgnorePatterns 'typescript')
- name: (swcpack) example react app
run: |
export NODE_OPTIONS="--unhandled-rejections=warn"
(cd crates/swc_node_bundler/tests/integration/react && npm install && npx spack)

done:
needs:
- cargo-fmt
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish-npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
if [[ ${{ inputs.package }} == "core" ]]; then
cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --release --target i686-pc-windows-msvc
cp ../../target/i686-pc-windows-msvc/release/swc .
pnpm build --target i686-pc-windows-msvc --no-default-features --features swc_v1
pnpm build --target i686-pc-windows-msvc --no-default-features
else
pnpm build --target i686-pc-windows-msvc
fi
Expand All @@ -135,7 +135,7 @@ jobs:
rm -rf ../../target/target/x86_64-unknown-linux-gnu/release/.cargo-lock &&
cp ../../target/x86_64-unknown-linux-gnu/release/swc . && chmod +x ./swc &&
if [[ ${{ inputs.package }} == "core" ]]; then
pnpm build --target x86_64-unknown-linux-gnu --no-default-features --features swc_v1,plugin
pnpm build --target x86_64-unknown-linux-gnu --no-default-features --features plugin
else
pnpm build --target x86_64-unknown-linux-gnu
fi
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
if [[ ${{ inputs.package }} == "core" ]]; then
pnpm exec napi build --bin swc --release --target armv7-unknown-linux-gnueabihf --manifest-path ../../bindings/swc_cli/Cargo.toml -x --target-dir ../release -o .
chmod +x ./swc
pnpm build --target armv7-unknown-linux-gnueabihf --no-default-features --features swc_v1 --use-napi-cross
pnpm build --target armv7-unknown-linux-gnueabihf --no-default-features --use-napi-cross
else
pnpm build --target armv7-unknown-linux-gnueabihf --use-napi-cross
fi
Expand All @@ -207,7 +207,7 @@ jobs:
if [[ ${{ inputs.package }} == "core" ]]; then
pnpm exec napi build --bin swc --release --target powerpc64le-unknown-linux-gnu --manifest-path ../../bindings/swc_cli/Cargo.toml -x --target-dir ../release -o .
chmod +x ./swc
pnpm build --target powerpc64le-unknown-linux-gnu --no-default-features --features swc_v1 --use-napi-cross
pnpm build --target powerpc64le-unknown-linux-gnu --no-default-features --use-napi-cross
else
pnpm build --target powerpc64le-unknown-linux-gnu --use-napi-cross
fi
Expand All @@ -218,7 +218,7 @@ jobs:
if [[ ${{ inputs.package }} == "core" ]]; then
pnpm exec napi build --bin swc --release --target s390x-unknown-linux-gnu --manifest-path ../../bindings/swc_cli/Cargo.toml -x --target-dir ../release -o .
chmod +x ./swc
pnpm build --target s390x-unknown-linux-gnu --no-default-features --features swc_v1 --use-napi-cross
pnpm build --target s390x-unknown-linux-gnu --no-default-features --use-napi-cross
else
pnpm build --target s390x-unknown-linux-gnu --use-napi-cross
fi
Expand Down Expand Up @@ -301,7 +301,7 @@ jobs:
if [[ ${{ inputs.package }} == "core" ]]; then
cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --release --target aarch64-pc-windows-msvc
cp ../../target/aarch64-pc-windows-msvc/release/swc.exe .
pnpm build --target aarch64-pc-windows-msvc --no-default-features --features swc_v1
pnpm build --target aarch64-pc-windows-msvc --no-default-features
else
pnpm build --target aarch64-pc-windows-msvc
fi
Expand Down
Loading
Loading