From 15458011936dec608af4ac23ba576746777b00d8 Mon Sep 17 00:00:00 2001 From: Corban Riley Date: Wed, 24 Apr 2024 14:24:03 -0400 Subject: [PATCH] Updating ci workflow --- .github/workflows/ci.yml | 23 +++++++++++++++++++++ .github/workflows/{build.yml => deploy.yml} | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yml rename .github/workflows/{build.yml => deploy.yml} (96%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..df74169e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: Test + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + name: Build and Push + steps: + - name: git-checkout + uses: actions/checkout@v4 + + - name: Install dependencies + uses: ./.github/actions/install-dependencies + + - name: Typecheck + run: pnpm typecheck + + - name: Build + run: pnpm build && pnpm build:react + + - name: Test + run: pnpm test diff --git a/.github/workflows/build.yml b/.github/workflows/deploy.yml similarity index 96% rename from .github/workflows/build.yml rename to .github/workflows/deploy.yml index 11f86798..6c8692a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: build dapp +name: Deploy Example on: push: