You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
467 B
22 lines
467 B
---
|
|
on: [pull_request]
|
|
|
|
name: Run tests
|
|
jobs:
|
|
build_and_test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v1
|
|
- name: Setup env
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12
|
|
- run: yarn
|
|
name: Install dependencies
|
|
- name: ESLint checks
|
|
run: yarn lint
|
|
- run: yarn build
|
|
name: Compile Typescript
|
|
- run: yarn test
|
|
name: Run tests
|