Skip to content

Create build-types.yml #541

Create build-types.yml

Create build-types.yml #541

Workflow file for this run

# CI workflow used for code quality checks and to ensure that a PR can be built.
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Run eslint and test and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-node@v2
with:
node-version: 16.x
- run: yarn
- run: yarn build
- run: yarn lint
- run: yarn test