chore(deps): bump (#935) #2287
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm ci | |
- run: npm run build | |
- run: npm run lint | |
- name: Prettier formatting check | |
run: npm run prettier | |
- name: Insensitive language check for Markdown docs | |
run: npm run alex | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: | |
# see the following: | |
# https://github.com/actions/setup-node?tab=readme-ov-file#supported-version-syntax | |
# https://github.com/nvm-sh/nvm/issues/1998#issuecomment-594958684 | |
- lts/-1 | |
- lts/* | |
- latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Build dists | |
run: npm run build | |
- name: Run tests | |
run: npm test --ignore-scripts |