-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (36 loc) · 997 Bytes
/
ci.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
name: Service core CI
on:
pull_request:
branches:
- '*'
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [18.16.0]
steps:
- name: Install `just`
uses: extractions/setup-just@v2
- name: Download master branch
uses: actions/checkout@v4
- name: Install Node.js with version ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
# there is one private package (lib-release) used as npm package, so we need
# to authenticate
- name: Login to github
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.TECH_PRYV_SSH_KEY }}
- name: Install & run nats-server, mongodb, influxdb
run: ./scripts/setup-ci
- name: Install node modules
run: just install-stable
- name: Run all tests
run: IS_CI=true just test all