Skip to content

Push to trigger test action #34

Push to trigger test action

Push to trigger test action #34

name: "vrf contracts: test"
on:
push:
branches-ignore:
- "master"
paths:
- "contracts/v0.1/**/VRFCoordinator.sol"
- "contracts/v0.1/**/VRFConsumerBase.sol"
- "contracts/v0.1/**/vrf/**"
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20.10.0"
registry-url: "https://registry.npmjs.org"
scope: "@bisonai"
always-auth: true
- run: yarn contracts install
- run: yarn vrf build
- run: yarn contracts prettier-solidity-check
- run: yarn contracts solhint
- run: yarn contracts lint
- run: yarn contracts test-vrf
- run: yarn contracts compile
- run: yarn contracts build