build(deps): bump actions/setup-node from 4 to 6 #635
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: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| node: [ | |
| 18, | |
| 20, | |
| lts/* | |
| ] | |
| os: [ | |
| ubuntu-latest, | |
| windows-latest | |
| ] | |
| env: | |
| OS: ${{ matrix.os }} | |
| NODE_VERSION: ${{ matrix.node }} | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4 | |
| - run: git fetch --prune --unshallow | |
| - run: git config --global user.name 'Actions' | |
| - run: git config --global user.email '[email protected]' | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - run: node --version | |
| - run: npm install --engine-strict | |
| - run: npm test | |
| - name: Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| env_vars: OS, NODE_VERSION |