feat: require saving a workspace before compiling #78
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 | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build-and-lint: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Verify manifest-driven version sync | |
| run: npm run version:check | |
| - name: Run linter | |
| run: npm run lint | |
| - name: Build project | |
| run: npm run build | |
| - name: Verify release version sync | |
| run: npm run release:check-version | |
| - name: Run end-to-end session tests | |
| run: npm run test:e2e | |
| - name: Run Firefox packaging smoke | |
| run: npm run test:browser:firefox |