Bumped minimal node version for integration test CI to 18.x
and add…
#192
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: Unit tests | |
on: | |
push: | |
paths-ignore: | |
- '**/README.md' | |
pull_request: | |
paths-ignore: | |
- '**/README.md' | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node-version: | |
- 18.x | |
- 20.x | |
steps: | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
npm install | |
npx lerna exec -- npm i | |
npx lerna bootstrap | |
- name: Run all unit tests | |
run: npm run test:unit |