mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 04:46:20 +00:00
nikugogoi
1c15c1eedb
* Test case for calling EdenNetwork event handler * Test cases for calling EdenNetwork event handlers * Test cases for calling event handlers in EdenNetworkDistribution * Test cases for calling event handlers in EdenNetworkGovernance * Perform eth-calls according to contract name in param * Pass function params in eth-call host API * Return value from eth-call to wasm * Add instructions for running tests * Install assemblyscript from github packages * Add instrcutions for installing private github packages * Use vulcanize assemblyscript package
31 lines
761 B
YAML
31 lines
761 B
YAML
name: Docker Build
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [16.x]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- run: yarn
|
|
# https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#use-private-packages
|
|
env:
|
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Linter check
|
|
run: yarn lint
|
|
build:
|
|
name: Run docker build
|
|
runs-on: ubuntu-latest
|
|
needs: test
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Run docker build
|
|
run: make docker-build
|