Skip to content

Commit

Permalink
fix(core): macOS 10.13 compatible issue
Browse files Browse the repository at this point in the history
resolve #53
  • Loading branch information
LongYinan committed Sep 1, 2020
1 parent 1c92def commit c5917ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,19 @@ jobs:
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org

- name: 'Build'
if: matrix.os != 'macos-latest'
run: |
cargo build --release
yarn build
- name: 'Build'
if: matrix.os == 'macos-latest'
run: |
cargo build --release
yarn build
env:
MACOSX_DEPLOYMENT_TARGET: '10.13'

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion packages/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ export function transform(source: string, path: string, options?: Options) {
return bindings.transform(source, path, transformOption(path, options))
}

export const SWC_VERSION = '1.2.21'
export const SWC_VERSION = '1.2.22'

0 comments on commit c5917ac

Please sign in to comment.