-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
13,695 additions
and
45,456 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,13 +15,28 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Cache pnpm modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.pnpm-store | ||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}- | ||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 6.16.0 | ||
run_install: | | ||
- args: [--frozen-lockfile] | ||
- name: Build use-nft | ||
run: yarn install --immutable && yarn build --noStats | ||
run: pnpm build | ||
|
||
- name: Build website/ | ||
env: | ||
VITE_INFURA_KEY: ${{ secrets.INFURA_KEY }} | ||
run: cd website && yarn install --immutable && yarn build | ||
run: cd website && pnpm install --frozen-lockfile && pnpm build | ||
|
||
- name: Deploy | ||
uses: JamesIves/[email protected] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,11 +10,23 @@ jobs: | |
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install dependencies | ||
run: yarn install --immutable | ||
- name: Cache pnpm modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.pnpm-store | ||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}- | ||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 6.16.0 | ||
run_install: | | ||
- args: [--frozen-lockfile] | ||
- name: Test | ||
run: yarn test --ci --coverage --maxWorkers=2 | ||
run: pnpm test | ||
|
||
- name: Build | ||
run: yarn build --noStats | ||
run: pnpm build |
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
Oops, something went wrong.