From 2611f0da00ba6001cce14639b59c6d3f5d409381 Mon Sep 17 00:00:00 2001 From: Vitaly Date: Sat, 26 Aug 2023 06:09:49 +0300 Subject: [PATCH] add ci.yml --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..cc357e5a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,17 @@ +name: Deploy to GitHub pages +on: + push: + branches: [main] +jobs: + build-and-deploy: + runs-on: ubuntu-latest + permissions: write-all + steps: + - name: Checkout repository + uses: actions/checkout@master + - name: Install pnpm + run: npm i -g pnpm + - run: pnpm install + - run: pnpm build + # todo use nohup and official action? + # - run: pnpm prod-start & pnpm test:cypress