Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
glrf committed Nov 2, 2021
1 parent 623e1fb commit f453011
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test
on:
pull_request:
branches:
- master

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
cache: yarn
- name: Installing dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: |
yarn lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
cache: yarn
- name: Installing dependencies
run: yarn install --frozen-lockfile
- name: Test
run: |
yarn test

0 comments on commit f453011

Please sign in to comment.