chore(deps): update dependency @rsbuild/core to v1.0.15 #403
Workflow file for this run
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: Test | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
types: ["opened", "reopened", "synchronize"] | |
jobs: | |
cargo-fmt: | |
name: Cargo fmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: cargo fmt -- --check | |
cargo-clippy: | |
name: Cargo clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: cargo clippy | |
wasm-build: | |
name: Wasm build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install wasm-pack | |
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- name: Build wasm | |
run: npm run build:wasm | |
- name: Package | |
run: npm pack | |
working-directory: crates/swc_ast_viewer/pkg | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build | |
path: crates/swc_ast_viewer/pkg | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
name: Install Node | |
with: | |
node-version-file: ".node-version" | |
- uses: pnpm/action-setup@v2 | |
with: | |
run_install: | | |
- args: [--frozen-lockfile, --strict-peer-dependencies] | |
- run: pnpm run /check/ |