🚨 [security] Update next 12.1.0 → 14.2.15 (major) #242
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: pull_request | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: | |
- windows-latest | |
- ubuntu-latest | |
node: | |
- 14 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Begin CI... | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Lint | |
run: yarn lint | |
- name: Test | |
run: yarn test --ci --coverage --maxWorkers=2 | |
- name: Build | |
run: yarn build | |
- name: Install dependencies for Example | |
run: yarn | |
working-directory: ./example | |
- name: Build example | |
run: yarn build | |
working-directory: ./example | |
- name: Run integration tests | |
run: yarn testcafe chrome:headless | |
working-directory: ./example |