Skip to content

Commit

Permalink
Merge branch 'main' into dw-344/nation3app-add-integra
Browse files Browse the repository at this point in the history
  • Loading branch information
aahna-ashina committed Jul 22, 2022
2 parents bbf352a + ee3878c commit fc6dd01
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 22,872 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ui_goerli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: /ui (Goerli) CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

defaults:
run:
working-directory: ui

strategy:
matrix:
node-version: [16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: ui/yarn.lock
- run: npm install --global yarn
- run: echo $(yarn --version)
- run: cp .env.goerli .env.local
- run: yarn install
- run: yarn build
- run: yarn lint
36 changes: 36 additions & 0 deletions .github/workflows/ui_mainnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: /ui (Mainnet) CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

defaults:
run:
working-directory: ui

strategy:
matrix:
node-version: [16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: ui/yarn.lock
- run: npm install --global yarn
- run: echo $(yarn --version)
- run: cp .env.mainnet .env.local
- run: yarn install
- run: yarn build
- run: yarn lint
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ Add variables to your local development environment:
cp .env.mainnet .env.local
```

Build:
```
yarn build
```

Lint:
```
yarn lint
```

Start the development server:
```
yarn dev
Expand Down
Loading

0 comments on commit fc6dd01

Please sign in to comment.