Skip to content

Commit

Permalink
Merge branch 'main' into remove_unused_fields
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 authored Jun 14, 2024
2 parents ac2fe73 + e560198 commit be61f2e
Show file tree
Hide file tree
Showing 388 changed files with 219,978 additions and 12,774 deletions.
42 changes: 34 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ jobs:
# toolchain: stable
# override: true

- run: corepack enable

- uses: actions/setup-node@v4
with:
node-version: "18"
Expand All @@ -154,6 +156,7 @@ jobs:
- name: Install node dependencies
shell: bash
run: |
corepack enable
yarn
# Ensure that all components are compilable.
Expand All @@ -168,6 +171,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- shell: bash
run: corepack enable

# We explicitly do this to cache properly.
- uses: actions-rs/toolchain@v1
with:
Expand All @@ -191,6 +197,7 @@ jobs:
- name: Install node dependencies
shell: bash
run: |
corepack enable
yarn
- name: Build
Expand Down Expand Up @@ -544,12 +551,18 @@ jobs:
- crate: swc_trace_macro
os: ubuntu-latest
runner: ubuntu-latest
- crate: swc_transform_common
os: ubuntu-latest
runner: ubuntu-latest
- crate: swc_visit
os: ubuntu-latest
runner: ubuntu-latest
- crate: swc_visit_macros
os: ubuntu-latest
runner: ubuntu-latest
- crate: swc_x_optimizer
os: ubuntu-latest
runner: ubuntu-latest
- crate: swc_xml
os: ubuntu-latest
runner: ubuntu-latest
Expand Down Expand Up @@ -589,6 +602,8 @@ jobs:
with:
submodules: true

- run: corepack enable

# Source map format
- uses: actions/setup-node@v4
with:
Expand All @@ -613,6 +628,7 @@ jobs:
- name: Install node dependencies
shell: bash
run: |
corepack enable
yarn
# I don't want to think deeply about this
yarn global add jest@27 mocha || \
Expand All @@ -633,7 +649,7 @@ jobs:
- name: Verify dependencies
shell: bash
run: |
jest --version && mocha --version
yarn jest --version && yarn mocha --version
- name: Configure execution cache
shell: bash
Expand Down Expand Up @@ -719,14 +735,13 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-latest
# - ubuntu-latest
- windows-latest
- macos-latest
steps:
- uses: actions/checkout@v4

- name: Corepack
shell: bash
- shell: bash
run: corepack enable

# We explicitly do this to cache properly.
Expand All @@ -735,7 +750,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 18
cache: "yarn"

- name: Patch
Expand All @@ -761,7 +776,14 @@ jobs:
corepack enable
yarn
- name: Build
working-directory: packages/core
run: |
yarn build:dev
- name: Test
working-directory: packages/core
run: |
yarn test
integration-test:
Expand All @@ -772,8 +794,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Corepack
shell: bash
- shell: bash
run: corepack enable

- uses: actions/setup-node@v4
Expand Down Expand Up @@ -878,14 +899,19 @@ jobs:
with:
submodules: true

- shell: bash
run: corepack enable

- uses: actions/setup-node@v4
with:
node-version: "18"
cache: "yarn"

- name: Install node dependencies
shell: bash
run: yarn
run: |
corepack enable
yarn
- name: Print rustup toolchain version
shell: bash
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/cancel.yml

This file was deleted.

Loading

0 comments on commit be61f2e

Please sign in to comment.