chore(deps): update devdependencies #2269
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: {} | |
pull_request: {} | |
jobs: | |
build: | |
if: github.event_name == 'push' || github.event.pull_request.base.repo.url != github.event.pull_request.head.repo.url | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis:6.2.4 | |
options: >- | |
--health-cmd "redis-cli ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 6379:6379 | |
strategy: | |
matrix: | |
node-version: [12.x, 10.x] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: corepack enable | |
- name: Install dependencies | |
run: pnpm install | |
- name: Full CI suite | |
run: pnpm test | |
if: matrix.node-version == '12.x' | |
- name: Jest tests only | |
run: pnpm jest | |
if: matrix.node-version == '10.x' | |
- uses: codecov/codecov-action@v2 | |
if: matrix.node-version == '12.x' |