Merge pull request #460 from yieldprotocol/bugfix/cactiImagesSvg #1231
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: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.12.1 | |
cache: "yarn" | |
- name: Install Yarn | |
run: corepack enable | | |
corepack prepare [email protected] --activate | |
- run: yarn install | |
- name: Lint | |
run: yarn run lint | |
- name: Do Format | |
if: always() | |
run: yarn format | |
- name: Check Format | |
if: always() | |
run: yarn checkFormat | |
- name: Update App Version | |
run: yarn version patch | |
- name: Build | |
if: always() | |
run: yarn build |