chore: (hopefully) fix to build process #851
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 | |
| on: pull_request | |
| jobs: | |
| lint-commits: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/[email protected] | |
| with: | |
| node-version: 24.8.0 | |
| - run: npm ci | |
| - run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # add/remove versions as we move support forward | |
| node-version: [24.8.0] | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| steps: | |
| - uses: actions/[email protected] | |
| - name: Setup Node.js ${{ matrix.node-version }} | |
| uses: actions/[email protected] | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm ci | |
| - run: npm run build | |
| - run: npm run lint | |
| if: ${{ runner.os == 'Linux' }} # skip Windows since line-endings will be wrong | |
| - run: npm run test |