build(deps): bump actions/checkout from 6 to 7 #160
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: | |
| branches: | |
| - master | |
| pull_request: | |
| types: [ assigned, opened, synchronize, reopened, labeled ] | |
| name: ci | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node: [14, 18, 20, 22, 24] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| # The test/babel-8 workspace depends on Babel 8, which requires Node 20+, | |
| # so we cannot install dependencies with --engine-strict. We keep | |
| # --engine-strict for older Node.js version, which use a npm version that | |
| # does not support nested workspaces so doesn't see the Babel 8 dependencies, | |
| # to make sure that we are not accidentally using dependencies that don't | |
| # support Node.js 12+. | |
| - run: npm install | |
| if: matrix.node == 18 | |
| - run: npm install --engine-strict | |
| if: matrix.node >= 20 | |
| - run: npm test | |
| # 14 is an expected job on GitHub, so have a no-op for it | |
| if: matrix.node != 14 | |
| windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: lts/* | |
| - run: npm install | |
| - run: npm test |