chore(deps): all non-major dependencies #698
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: Run Pull Request Checks | |
on: [pull_request] | |
jobs: | |
tests: | |
name: Run Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x, 22.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: npm | |
- name: Install | |
run: npm ci | |
- name: Compile | |
run: npm run build:code | |
- name: Tests | |
run: npm run test | |
lint_and_format: | |
name: Run Lint and Format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: npm | |
- name: Install | |
run: npm ci | |
- name: Linted | |
run: npm run lint | |
- name: Nice | |
run: npm run prettier |