strong-tie/inbound-calls
0
1name: CI2 3on:4 push:5 branches:6 - main7 - 'v*'8 paths-ignore:9 - 'docs/**'10 - '*.md'11 pull_request:12 paths-ignore:13 - 'docs/**'14 - '*.md'15 16# This allows a subsequently queued workflow run to interrupt previous runs17concurrency:18 group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"19 cancel-in-progress: true20 21jobs:22 dependency-review:23 name: Dependency Review24 if: github.event_name == 'pull_request'25 runs-on: ubuntu-latest26 permissions:27 contents: read28 steps:29 - name: Check out repo30 uses: actions/checkout@v431 with:32 persist-credentials: false33 34 - name: Dependency review35 uses: actions/dependency-review-action@v436 37 test:38 name: ${{ matrix.node-version }} ${{ matrix.os }}39 runs-on: ${{ matrix.os }}40 permissions:41 contents: read42 strategy:43 fail-fast: false44 matrix:45 os: [macOS-latest, windows-latest, ubuntu-latest]46 node-version: [18, 20, 22]47 exclude:48 - os: windows-latest49 node-version: 2250 51 steps:52 - name: Check out repo53 uses: actions/checkout@v454 with:55 persist-credentials: false56 57 - name: Setup Node ${{ matrix.node-version }}58 uses: actions/setup-node@v459 with:60 node-version: ${{ matrix.node-version }}61 62 - name: Install dependencies63 run: npm i --ignore-scripts64 65 - name: Run tests66 run: npm run test-ci67 68 - name: Run smoke test69 if: >70 matrix.os != 'windows-latest' &&71 matrix.node-version > 1472 run: npm run test:smoke73 74 automerge:75 name: Automerge Dependabot PRs76 if: >77 github.event_name == 'pull_request' &&78 github.event.pull_request.user.login == 'dependabot[bot]'79 needs: test80 permissions:81 pull-requests: write82 contents: write83 runs-on: ubuntu-latest84 steps:85 - uses: fastify/github-action-merge-dependabot@v386 with:87 github-token: ${{ secrets.GITHUB_TOKEN }}88 exclude: 'sonic-boom,pino-std-serializers,quick-format-unescaped,fast-redact'89 