Skip to content

Commit cbe102b

Browse files
authored
Merge pull request #4 from andoshin11/chore/setup-github-actions
Setup GitHub Actions
2 parents 863ccfa + 90cb6ae commit cbe102b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/main.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: main
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
node-version: [13.x]
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Use Node.js ${{ matrix.node-version }}
14+
uses: actions/setup-node@v1
15+
with:
16+
node-version: ${{ matrix.node-version }}
17+
- name: Restore dependencies
18+
uses: actions/cache@v1
19+
with:
20+
path: node_modules
21+
key: ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }}
22+
restore-keys: |
23+
${{ runner.os }}-node-
24+
- name: Install dependencies
25+
run: yarn install --frozen-lockfile
26+
- name: Typecheck
27+
uses: ./

0 commit comments

Comments
 (0)