
* run jest in ci
* ignore cypress in jest
* align
* ⚠️ disable failing tests
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
32 lines
701 B
YAML
32 lines
701 B
YAML
name: Build
|
|
on: [push]
|
|
jobs:
|
|
build:
|
|
name: Build on Node ${{ matrix.node }} and ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
node: ["14.x"]
|
|
os: [ubuntu-latest]
|
|
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Use Node ${{ matrix.node }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
|
|
- name: Install deps
|
|
uses: bahmutov/npm-install@v1
|
|
|
|
- name: Next.js cache
|
|
uses: actions/cache@v2
|
|
with:
|
|
path: ${{ github.workspace }}/.next/cache
|
|
key: ${{ runner.os }}-nextjs
|
|
|
|
- run: yarn test
|
|
- run: yarn build
|