From 2ef61b051142fdaf32585dc92ec42d0a748c1550 Mon Sep 17 00:00:00 2001 From: "Alexis H. Munsayac" Date: Thu, 19 Oct 2023 18:37:21 +0800 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..4aaea3b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,34 @@ +name: CI +on: + - push +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2.2.2 + with: + version: 8 + run_install: | + - args: [--frozen-lockfile] + + - uses: actions/setup-node@v3 + with: + node-version: 20 + cache: 'pnpm' + + - name: Clean + run: pnpm recursive run clean + env: + CI: true + + - name: Build + run: pnpm recursive run build + env: + CI: true + + - name: Begin Tests + run: pnpm recursive run test + env: + CI: true