Skip to content

Merge pull request #116 from OasisDEX/jt/sc-15288/common-update-with-… #744

Merge pull request #116 from OasisDEX/jt/sc-15288/common-update-with-…

Merge pull request #116 from OasisDEX/jt/sc-15288/common-update-with-… #744

Workflow file for this run

name: Build and test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache YARN dependencies
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.OS }}-yarn-cache-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-yarn-cache-
- name: Install
run: yarn --no-progress --non-interactive --frozen-lockfile
- name: Lint
run: yarn lint
- name: Prettier
run: yarn format
- name: Build
run: yarn build
- name: Test
run: CI=true yarn test
# Few tips github actions
# - name: Setup SSH debug session
# uses: mxschmitt/action-tmate@v2