forked from althea-net/cosmos-gravity-bridge
-
Notifications
You must be signed in to change notification settings - Fork 8
26 lines (23 loc) · 808 Bytes
/
node.js.yml
File metadata and controls
26 lines (23 loc) · 808 Bytes
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Solidity contract build and test
on:
push:
branches: [main]
pull_request:
jobs:
core-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Build and test Solidity contracts
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: cd solidity && npm ci
- run: cd solidity && npm run typechain
- run: cd solidity && npm run evm &
- run: cd solidity && npm run test