From 1f8476c4d7fb5afca0537e889aa5538ef71c6be0 Mon Sep 17 00:00:00 2001 From: Alexey Yarmosh Date: Thu, 8 Aug 2024 17:14:28 +0200 Subject: [PATCH] feat: add gh ci workflow --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 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..e39b1208 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: [ "*" ] + pull_request: + branches: [ "*" ] + +jobs: + build: + runs-on: ubuntu-latest + + env: + NODE_ENV: test + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 20.x + - name: Build + run: | + corepack enable + pnpm install + pnpm build + pnpm lint