Skip to content

Merge pull request #336 from bahamoth/main #663

Merge pull request #336 from bahamoth/main

Merge pull request #336 from bahamoth/main #663

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