Skip to content

improve CI

improve CI #18

Workflow file for this run

name: CI
on: [push,pull_request]
jobs:
build:
name: Build, lint, and test

Check failure on line 5 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 5, Col: 5): Required property is missing: runs-on
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Use Node
uses: actions/setup-node@v3
with:
node-version: lts
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
- name: Lint
run: yarn lint
- name: Test
run: yarn test --ci --coverage --maxWorkers=2
- name: Build
run: yarn build