chore: pre-1st slashings refund #93
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
pull_request: | |
branches: | |
- main | |
- release/* | |
push: | |
branches: | |
- main | |
- release/* | |
jobs: | |
build: | |
name: Build | |
timeout-minutes: 20 | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.experimental }} | |
strategy: | |
fail-fast: false | |
matrix: | |
node_version: | |
- 16.13.0 | |
os: | |
- ubuntu-20.04 | |
experimental: [false] | |
steps: | |
- uses: actions/[email protected] | |
with: | |
submodules: true | |
- name: Node ${{ matrix.node_version }} - x64 on ${{ matrix.os }} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node_version }} | |
- uses: actions/[email protected] | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install dependencies | |
run: npm ci | |
- name: Run lint and build | |
run: | | |
npm run lint | |
npm run build | |
- name: Start Streamr Docker Stack | |
uses: streamr-dev/[email protected] | |
with: | |
services-to-start: 'dev-chain-fast' | |
- name: Integration Test | |
run: | | |
npm run deploy | |
npm run test |