Refactor validation workspace handling and update documentation #140
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: smoke | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| mode: | |
| description: "Smoke mode: pending | execute | all" | |
| required: false | |
| default: "pending" | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "src/**" | |
| - "tests/smoke/**" | |
| - "package.json" | |
| - "package-lock.json" | |
| - ".github/workflows/smoke.yml" | |
| jobs: | |
| smoke: | |
| runs-on: ubuntu-latest | |
| env: | |
| AUTOLABOS_SMOKE_MODE: ${{ github.event.inputs.mode || 'pending' }} | |
| CI: "true" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: "npm" | |
| - name: Install expect | |
| run: sudo apt-get update && sudo apt-get install -y expect | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| - name: Run CI smoke | |
| run: npm run test:smoke:ci |