fixed linting #442
Workflow file for this run
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: "core: test+build" | |
on: | |
push: | |
branches-ignore: | |
- "master" | |
paths: | |
- "core/**" | |
jobs: | |
core-build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18.12" | |
- name: Install dependencies | |
run: yarn core install | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Build workspace dependency (vrf) | |
run: yarn vrf build | |
- name: Build workspace dependency (contracts) | |
run: yarn contracts clean && yarn contracts compile && yarn contracts build | |
- name: Run lint | |
run: yarn core lint | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Run test | |
run: yarn core test | |
env: | |
ORAKL_DIR: "./" | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
CAVER_PRIVATE_KEY: ${{ secrets.CAVER_PRIVATE_KEY}} | |
- name: Build package | |
run: yarn core build |