mirror of
https://github.com/status-im/dappconnect-vote-poll-sdk.git
synced 2025-01-12 22:34:29 +00:00
Add example to CI
This commit is contained in:
parent
52f9aa779c
commit
5f6b3752cf
20
.github/workflows/CI.yml
vendored
20
.github/workflows/CI.yml
vendored
@ -17,4 +17,22 @@ jobs:
|
||||
- run: yarn lint
|
||||
- run: yarn build
|
||||
- run: yarn test
|
||||
|
||||
examples:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
example: [ mainnet-poll ]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 14.x
|
||||
- run: yarn install --frozen-lockfile
|
||||
working-directory: examples/${{ matrix.example }}
|
||||
- run: yarn lint
|
||||
working-directory: examples/${{ matrix.example }}
|
||||
- run: yarn build
|
||||
working-directory: examples/${{ matrix.example }}
|
||||
- run: yarn test
|
||||
working-directory: examples/${{ matrix.example }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user