feat!: add support electron 41.x and drop nodejs less than 22.x COMPASS-10561 #41
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
| on: [push, pull_request] | |
| name: CI | |
| jobs: | |
| test-posix: | |
| name: Tests | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| node-version: [18.x, 20.x, 22.x, 24.x] | |
| exclude: | |
| - os: windows-latest | |
| node-version: 12.4.0 # The node-gyp shipped with this is too old | |
| runs-on: ${{matrix.os}} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v2 | |
| with: | |
| check-latest: true | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install Dependencies | |
| run: npm install | |
| - name: Test | |
| run: npm test |