Skip to content

Merge pull request #339 from ocdi/patch-1 #669

Merge pull request #339 from ocdi/patch-1

Merge pull request #339 from ocdi/patch-1 #669

Workflow file for this run

name: CI
on: push
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['12', '14']
steps:
- uses: actions/checkout@v3
- run: echo "::set-output name=dir::$(yarn cache dir)"
id: yarn-cache-dir-path
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-v1-
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn type-check
- run: yarn build
- run: yarn type-check:tests
- run: yarn test