-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (36 loc) · 946 Bytes
/
tests.yml
File metadata and controls
44 lines (36 loc) · 946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Add SSH Key
uses: webfactory/ssh-agent@v0.5.2
with:
ssh-private-key: ${{ secrets.CORE_REPOSITORY_SSH_KEY }}
- name: Clone Core Repository
run: |
git clone git@github.com:techmmunity/core.git
mv core/src src/core
rm -rf core
- name: Install Dependencies
run: |
yarn
- name: Test TypeScript Syntax
run: |
yarn temp:test-tsc
# - name: Run Tests
# run: |
# yarn test:cov
# - name: Colect Coverage
# if: github.event_name == 'push' && github.ref == 'refs/heads/master'
# uses: coverallsapp/github-action@v1.1.2
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}