-
Notifications
You must be signed in to change notification settings - Fork 8
54 lines (44 loc) · 1.18 KB
/
ci-nym-vpn-app-js.yml
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
48
49
50
51
52
53
54
name: ci-nym-vpn-app-js
on:
workflow_dispatch:
pull_request:
paths:
- ".github/workflows/ci-nym-vpn-app-js.yml"
- "nym-vpn-app/**"
jobs:
check:
strategy:
fail-fast: false
matrix:
os: [arc-ubuntu-22.04, custom-windows-11]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: |
nym-vpn-app
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: nym-vpn-app/package-lock.json
- name: Install dependencies
working-directory: nym-vpn-app
run: npm ci
- name: Typecheck
working-directory: nym-vpn-app
run: npm run tscheck
- name: Check lint
working-directory: nym-vpn-app
run: npm run lint
- name: Check formatting
working-directory: nym-vpn-app
run: npm run fmt:check
# - name: Run tests
# working-directory: nym-vpn-app
# run: npm run test
- name: Check build
working-directory: nym-vpn-app
run: npm run build