-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (42 loc) · 1011 Bytes
/
mobile-ci.yaml
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
45
46
47
name: Run Mobile CI
on:
push:
branches:
- develop
- "SCRUM*"
paths:
- "frontend/**"
pull_request:
branches:
- develop
paths:
- "frontend/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository in Virtual Machine
uses: actions/checkout@v4
- name: Install Dependencies
working-directory: frontend/iQMA-Skills-Builder
run: |
npm install
- name: Run Tests
working-directory: frontend/iQMA-Skills-Builder
run: |
npm test
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Super-Linter
uses: super-linter/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_TSX: true
VALIDATE_TYPESCRIPT_ES: true
IGNORE_GENERATED_FILES: true
IGNORE_GITIGNORED_FILES: true