Skip to content

Commit

Permalink
chore: added basic build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fforbeck authored Sep 7, 2021
1 parent 434a0da commit 4954837
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build
on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v2
with:
node-version: "14.17.0"

- name: Setup SSH to install dependencies
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Install dependencies
run: npm ci

- name: Build contracts to get the ABIs
run: npm run build

# TODO
# - name: Run tests
# run: npm test

0 comments on commit 4954837

Please sign in to comment.