-
-
Notifications
You must be signed in to change notification settings - Fork 2
65 lines (53 loc) · 1.51 KB
/
tools-smoke-test-node.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
55
56
57
58
59
60
61
62
63
64
65
name: Tools smoke test node
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [ master ]
paths:
- 'starsky-tools/dropbox-import/**'
- 'starsky-tools/localtunnel/**'
- 'starsky-tools/mail/**'
- 'starsky-tools/mock/**'
- 'starsky-tools/thumbnail/**'
pull_request:
branches: [ master ]
paths:
- 'starsky-tools/dropbox-import/**'
- 'starsky-tools/localtunnel/**'
- 'starsky-tools/mail/**'
- 'starsky-tools/mock/**'
- 'starsky-tools/thumbnail/**'
- '.github/workflows/**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v4
- name: Build ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: NpmCi Mock
working-directory: ./starsky-tools/mock
run: npm ci
- name: Node Run Mock SetRouter
working-directory: ./starsky-tools/mock
run: node set-router.js
- name: NpmCi dropbox-import
working-directory: ./starsky-tools/dropbox-import
run: npm ci
- name: NpmCi localtunnel
working-directory: ./starsky-tools/localtunnel
run: npm ci
- name: NpmCi mail
working-directory: ./starsky-tools/mail
run: npm ci
- name: NpmCi thumbnail
working-directory: ./starsky-tools/thumbnail
run: npm ci