deps: bump yargs from 16.2.0 to 18.0.0 #470
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: Run Unit Tests | |
| on: | |
| pull_request: | |
| jobs: | |
| unit-tests: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: | |
| - windows-latest | |
| - ubuntu-latest | |
| - macos-latest | |
| node-version: | |
| - lts/* | |
| steps: | |
| # Install deps and cache | |
| # Eventually it would be great if these steps could live in a separate YAML file | |
| # that could be included in line to avoid code duplication | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Install node ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| # Run unit tests | |
| - name: Run unit tests | |
| run: npm run test:unit |