forked from passportxyz/passport
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (36 loc) · 926 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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
# Run a local ceramic nod to test against
services:
ceramic:
image: ceramicnetwork/js-ceramic:2.6.0-rc.1
ports:
- 7007:7007
env:
CERAMIC_CLIENT_URL: http://127.0.0.1:7007
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: "yarn"
- name: Lerna Bootstrap
run: lerna bootstrap
- name: Run Tests
run: yarn test
- name: Run Ceramic Integration Tests
run: yarn test:ceramic-integration
- name: Run Linter
run: yarn lint
- name: Workarround for build error
run: rm -rf node_modules/@tendermint
- name: Run Build (ensure that build succeeds)
run: yarn build