Merge pull request #37 from aave/feature/ci-workflow

CI github workflow added
This commit is contained in:
Josh Stevens
2022-03-02 18:20:47 +00:00
committed by GitHub

22
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
compile_and_run_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install dependencies
run: npm ci
- name: Compile code
run: npm run compile
- name: Run tests
run: npm run test