Skip to content

Commit

Permalink
Merge pull request #4 from andoshin11/chore/setup-github-actions
Browse files Browse the repository at this point in the history
Setup GitHub Actions
  • Loading branch information
andoshin11 authored Apr 7, 2020
2 parents 863ccfa + 90cb6ae commit cbe102b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: main

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [13.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Restore dependencies
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Typecheck
uses: ./

0 comments on commit cbe102b

Please sign in to comment.