-
Notifications
You must be signed in to change notification settings - Fork 3
28 lines (28 loc) · 976 Bytes
/
build.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
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.CI_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: "20"
- uses: pnpm/action-setup@v3
with:
version: 8
- run: pnpm install
- run: pnpm run prettier
working-directory: packages/contracts
- run: pnpm run prepack
working-directory: packages/contracts
- run: pnpm run test:coverage
working-directory: packages/contracts
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./packages/contracts/coverage/lcov.info