Skip to content

GITBOOK-338: change request with no subject merged in GitBook #892

GITBOOK-338: change request with no subject merged in GitBook

GITBOOK-338: change request with no subject merged in GitBook #892

Workflow file for this run

name: Pipeline
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: Test
runs-on: ubuntu-18.04
env:
TEST_BSC_PROVIDER: https://bsc-dataseed.binance.org/
TEST_ORACLE_KEYS: ${{ secrets.TEST_ORACLE_KEYS}}
MNEMONIC: ${{ secrets.MNEMONIC}}
DEPLOYER_PRIVATE_KEY: ${{ secrets.DEPLOYER_PRIVATE_KEY}}
DEPLOYER_ACCOUNT: ${{ secrets.DEPLOYER_ACCOUNT}}
FORCE_COLOR: true
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14 LTS
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-${{ matrix.node-version }}-nodemodules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node-version }}-nodemodules-
- name: Installing dependencies
run: yarn install --frozen-lockfile --prefer-offline
if: |
steps.cache-yarn-cache.outputs.cache-hit != 'true' ||
steps.cache-node-modules.outputs.cache-hit != 'true'
# - name: Check docs are in sync
# run: yarn docs:assert-in-sync
- name: Lint (prettier)
run: yarn lint:check
continue-on-error: true
- name: Test
run: yarn test:ci
- name: Tests coverage
run: yarn coverage
continue-on-error: true