Bump the production-dependencies group across 1 directory with 3 updates #13
This file contains 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: dependabot-ci | |
on: pull_request | |
# Cancel in progress workflows | |
# in the scenario where we already had a run going for that PR/branch/tag but then triggered a new run | |
concurrency: | |
group: '${{ github.workflow }} ✨ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
dependabot-tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [18, 20, 22] | |
name: Node.js ${{matrix.node-version}} | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.user.login == 'dependabot[bot]' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{matrix.node-version}} | |
- name: Output Node and NPM versions | |
run: | | |
echo "Node.js version: $(node -v)" | |
echo "NPM version: $(npm -v)" | |
- run: npm ci | |
- run: npm run build --workspaces --if-present | |
- run: npm test --if-present # run the monorepo root tests | |
- run: npm test --workspaces --if-present # run the individual packages tests |