-
Notifications
You must be signed in to change notification settings - Fork 154
42 lines (32 loc) · 881 Bytes
/
nightly.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
name: Nightly
on:
schedule:
- cron: '0 0 * * *'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version: [20.x]
os: [ubuntu-latest]
steps:
- name: Setup Repo
uses: actions/checkout@v4
- name: Uses node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install all workspaces
run: yarn install --immutable
- name: Seutp workspaces
run: yarn compile
- name: Lint
run: yarn format && yarn lint
- name: Test
run: yarn coverage
- name: spot-contracts report coverage
uses: coverallsapp/github-action@v2.2.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: "./coverage/lcov.info"