Skip to content
This repository was archived by the owner on Mar 9, 2023. It is now read-only.

Commit 22a7edc

Browse files
authored
Add Tests (#6)
* Update dependencies * Add tests
1 parent fed5032 commit 22a7edc

File tree

2 files changed

+225
-67
lines changed

2 files changed

+225
-67
lines changed

.github/workflows/test.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Test
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
8+
jobs:
9+
zapier-validations:
10+
runs-on: ubuntu-latest
11+
name: Zapier Validations
12+
steps:
13+
- name: Check out code
14+
uses: actions/checkout@v2
15+
16+
- name: Setup NodeJS
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: 14.3.0
20+
21+
- name: Install Node Modules
22+
run: yarn install
23+
24+
- name: Compile TypeScript
25+
run: yarn build
26+
27+
- name: Zapier Validate
28+
env:
29+
ZAPIER_DEPLOY_KEY: ${{ secrets.ZAPIER_API_KEY }}
30+
run: yarn zapier validate
31+
lint:
32+
runs-on: ubuntu-latest
33+
name: Lint
34+
steps:
35+
- name: Check out code
36+
uses: actions/checkout@v2
37+
38+
- name: Setup NodeJS
39+
uses: actions/setup-node@v1
40+
with:
41+
node-version: 14.3.0
42+
43+
- name: Install Node Modules
44+
run: yarn install
45+
46+
- name: Lint
47+
run: yarn run lint:ts
48+
typecheck:
49+
runs-on: ubuntu-latest
50+
name: Typecheck
51+
steps:
52+
- name: Check out code
53+
uses: actions/checkout@v2
54+
55+
- name: Setup NodeJS
56+
uses: actions/setup-node@v1
57+
with:
58+
node-version: 14.3.0
59+
60+
- name: Install Node Modules
61+
run: yarn install
62+
63+
- name: Lint
64+
run: yarn run typecheck

0 commit comments

Comments
 (0)