Bump js-yaml from 4.1.0 to 4.1.1 in the npm_and_yarn group across 1 d… #273
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: Tests | |
| on: | |
| pull_request: | |
| types: [ opened, synchronize, reopened ] | |
| push: | |
| branches: | |
| - "main" | |
| jobs: | |
| build: | |
| name: "Test with Node.js v${{ matrix.node }}" | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| node: | |
| - 20 | |
| - 22 | |
| - 24 | |
| steps: | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: "${{ matrix.node }}" | |
| - uses: actions/checkout@v4 | |
| - name: "Cache node_modules" | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-v${{ matrix.node }}-${{ hashFiles('**/package.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node-v${{ matrix.node }}- | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Test | |
| run: npm test |