Merge branch 'dev' into master #37
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: | |
| push: | |
| branches: | |
| - dev | |
| - master | |
| pull_request: | |
| branches: | |
| - dev | |
| - master | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Test, audit, and package | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - name: Install locked dependencies | |
| run: npm ci | |
| - name: Validate project contracts | |
| run: npm run check:contracts | |
| - name: Run tests | |
| run: npm test | |
| - name: Audit production dependencies | |
| run: npm audit --omit=dev | |
| - name: Verify extension packaging | |
| run: | | |
| mkdir -p dist | |
| npx --no-install vsce package --out dist/ci-dry-run.vsix |