diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f2185c1ff..3f9c2a699 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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: diff --git a/packages/core/index.ts b/packages/core/index.ts index c41a7a247..ede9f774e 100644 --- a/packages/core/index.ts +++ b/packages/core/index.ts @@ -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'