-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (35 loc) · 1.07 KB
/
Copy pathci.yml
File metadata and controls
35 lines (35 loc) · 1.07 KB
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
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: database
steps:
- uses: actions/checkout@v4
with: { path: database }
- uses: actions/checkout@v4
with:
repository: browser-network/crypto
path: crypto
- uses: actions/checkout@v4
with:
repository: browser-network/network
path: network
- uses: actions/checkout@v4
with:
repository: browser-network/switchboard
path: switchboard
- uses: actions/setup-node@v4
with: { node-version: 26.x, cache: npm, cache-dependency-path: database/package-lock.json }
- run: npm ci && npm run build
working-directory: crypto
- run: npm ci && npm run build
working-directory: network
- run: npm ci && npm run build
working-directory: switchboard
- run: npm ci
- run: npx playwright install --with-deps chromium
- run: npm run test:browser
- run: npm audit --omit=dev --audit-level=high