chore: bump the dependencies group with 2 updates #152
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: CI | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| node: ["22.x"] | |
| platform: [ubuntu-latest] | |
| name: Node v${{matrix.node}} ((${{matrix.platform}})) | |
| runs-on: ${{matrix.platform}} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: ${{matrix.node}} | |
| - name: install dependencies | |
| run: npm ci | |
| - name: lint code | |
| run: npm run lint | |
| - name: build project | |
| run: npm run build | |
| - name: run tests | |
| run: npm run test | |
| - name: coverage | |
| uses: codecov/codecov-action@v4 | |
| if: github.actor != 'dependabot[bot]' | |
| with: | |
| fail_ci_if_error: true | |
| verbose: false | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| env: | |
| CI: true | |
| release-preview: | |
| runs-on: ubuntu-latest | |
| needs: test | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: "22.x" | |
| - name: install dependencies | |
| run: npm ci | |
| - name: build project | |
| run: npm run build | |
| - name: release preview with pkr-pr-new | |
| run: npx pkg-pr-new publish |