Skip to content

upgrade swc_core to v13.0.4 #547

upgrade swc_core to v13.0.4

upgrade swc_core to v13.0.4 #547

Workflow file for this run

name: CI
on:
pull_request:
types: ['opened', 'reopened', 'synchronize']
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
name: Run test
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions/setup-node@v2
with:
node-version: "18"
cache: "npm"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
components: llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: install
run: |
npm ci
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
rustup target add wasm32-wasip1
- name: test
run: npm test
- name: build
run: |
cargo check
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
verbose: true