forked from blocknative/web3-onboard
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
c898b7f
commit 95476ba
Showing
2 changed files
with
25,439 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: SubWallet Build | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- sw-dev | ||
push: | ||
branches: | ||
- main | ||
- sw-dev | ||
|
||
jobs: | ||
master: | ||
if: "! startsWith(github.event.head_commit.message, '[CI Skip]')" | ||
runs-on: ubuntu-22.04 | ||
name: Build and Deploy | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Build | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
cache: 'yarn' | ||
- name: Build | ||
id: build | ||
run: | | ||
yarn install | ||
yarn build | ||
# === Deploy static pages === | ||
# deploy app to vercel | ||
- name: deploy site to vercel | ||
uses: amondnet/vercel-action@v20 | ||
with: | ||
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required | ||
github-token: ${{ secrets.GITHUB_TOKEN }} #Optional | ||
vercel-args: '--prod' #Optional | ||
vercel-org-id: ${{ secrets.ORG_ID}} #Required | ||
vercel-project-id: ${{ secrets.PROJECT_ID}} #Required | ||
directory: './packages/demo' |
Oops, something went wrong.