Feat/upt chore: update dependencies and improve documentation across inspector packages for better performance and usability #71
Workflow file for this run
This file contains hidden or 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-inspector-swc-plugin | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - major | |
| - minor | |
| - dev | |
| # Only consider those paths to trigger the action | |
| paths: | |
| - 'packages/**' | |
| - 'package.json' | |
| - '*.lock' | |
| - '.yarnrc.yml' | |
| - 'tsconfig.base.json' | |
| - '.prettier*' | |
| - '.github/**' | |
| pull_request: | |
| branches: | |
| - main | |
| - major | |
| - minor | |
| - dev | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| # Only consider those paths to trigger the action | |
| paths: | |
| - 'packages/**' | |
| - 'package.json' | |
| - '*.lock' | |
| - '.yarnrc.yml' | |
| - 'tsconfig.base.json' | |
| - '.prettier*' | |
| - '.github/**' | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: 📥 Monorepo install | |
| uses: ./.github/actions/yarn-nm-install | |
| - name: Add wasm32-wasip1 target | |
| run: rustup target add wasm32-wasip1 | |
| - name: Unit tests | |
| working-directory: crates/inspector-swc-plugin | |
| run: | | |
| yarn test-unit --passWithNoTests | |
| - name: Build inspector-swc-plugin | |
| working-directory: crates/inspector-swc-plugin | |
| run: | | |
| yarn build |