chore(deps-dev): bump @readme/eslint-config from 10.6.1 to 10.6.2 (#201) #421
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: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: | |
- 14 | |
- 16 | |
- 18 | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# Node 14 still ships with npm@6 which doesn't install peerDeps by default. | |
- name: Install npm@7 | |
if: matrix.node == '14' | |
run: npm install -g npm@7 | |
- name: Install deps | |
run: npm ci | |
- name: Build the dist | |
run: npm run build | |
- name: Run tests | |
run: npm run test-ci |