chore: bump @types/node from 18.15.11 to 20.4.2 #30
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: Pull requests | |
on: | |
pull_request: | |
branches: [master] | |
jobs: | |
# Needed for grouping check strategies into one check for mergify | |
all-strategies-checks: | |
runs-on: ubuntu-latest | |
needs: | |
- build-and-test | |
steps: | |
- run: echo "Done" | |
commit-lint: | |
name: Validate commit message | |
runs-on: ubuntu-latest | |
# Set to true in order to avoid cancelling other workflow jobs. | |
# Mergify will still require commit-lint for automerge | |
continue-on-error: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
# Need to fetch the base SHA so that it can be compared with the head SHA. | |
fetch-depth: 0 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
- name: Build && Test | |
run: | | |
yarn | |
- name: Check that commit message conforms to Semantic Release format | |
if: ${{ github.event_name == 'pull_request' }} | |
run: bash commitlint.sh | |
env: | |
COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: | |
- '18' | |
name: Build & Test on Node ${{ matrix.node }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
- name: Build && Test | |
run: | | |
yarn |