upgrade swc_core
to v0.99.x
(close #9) (#10)
#54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- "**" | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }} | |
- run: cargo test | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2.4.0 | |
with: | |
version: 8.14.1 | |
run_install: true | |
- name: Add Rust target | |
run: rustup target add wasm32-unknown-unknown | |
- run: pnpm build | |
- run: pnpm test |