Skip to content

Merge pull request #28 from AmbireTech/feat/use-npm-package-for-sdk-c… #41

Merge pull request #28 from AmbireTech/feat/use-npm-package-for-sdk-c…

Merge pull request #28 from AmbireTech/feat/use-npm-package-for-sdk-c… #41

Workflow file for this run

name: Build & deploy Uniswap test version for ambire wallet sdk
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: write
jobs:
build:
name: Build & Deploy
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout code 🛎️
uses: actions/checkout@v3
- name: Install Node.js ⚙️
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Install Yarn
run: npm install --global yarn
- name: Install Yarn packages ♾️🕳️
run: yarn
- name: Build project 🛠️
run: export NODE_OPTIONS="--max-old-space-size=4096" && yarn build
- name: Deploy 🚀🌕
if: github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
branch: gh-pages
folder: build