This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
Deploy OffchainOracle on Base network #273
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: CI | |
on: | |
push: | |
branches-ignore: | |
- master | |
paths-ignore: | |
- .github/** | |
# manual trigger | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone source code | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '14.17.0' | |
- name: Install yarn | |
run: npm install --global yarn | |
- name: Cache dependencies | |
uses: actions/cache@v1 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install Dependencies | |
run: | | |
yarn | |
yarn install --frozen-lockfile | |
- name: Build | |
run: | | |
yarn run build |