This repository was archived by the owner on Mar 26, 2026. It is now read-only.
Fix Rules.mk blanking out dependencies, fix incorrect actions.json usage
#298
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: Test with Vitest | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: ["main"] | |
| paths: | |
| - 'cli/**' | |
| pull_request: | |
| branches: ["main"] | |
| paths: | |
| - 'cli/**' | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [macos-latest, ubuntu-latest, windows-latest] | |
| node-version: [18.x] | |
| runs-on: ${{ matrix.os }} | |
| defaults: | |
| run: | |
| working-directory: ./cli | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install NPM Dependencies | |
| run: npm install | |
| - name: Run Test | |
| run: npm run test | |
| - name: Pack | |
| run: | | |
| npm run webpack | |
| npm pack |