chore(deps): update semantic-release monorepo #680
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] | |
jobs: | |
build: | |
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: ['14.x', '16.x'] | |
os: [macOS-latest] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Use Node ${{ matrix.node }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install deps and build (with cache) | |
uses: bahmutov/npm-install@v1 | |
- name: Install deps on example | |
uses: bahmutov/npm-install@v1 | |
with: | |
working-directory: ./example | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm run test --ci --coverage --maxWorkers=2 | |
- name: Build | |
run: npm run build |