From c30f7862ae0af02348edba38d74440fcc6678526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EF=BC=AD=E2=99=A2=EF=BC=AE=EF=BC=B4=CE=9B=EF=BC=B3?= =?UTF-8?q?=EF=BC=A9=EF=BC=AD?= Date: Mon, 12 Aug 2024 14:52:30 +0600 Subject: [PATCH] feat: Add GitHub Actions workflow for CI --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 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 0000000..e193ec1 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +name: Continuous Integration + +on: + push: + branches: + - '**' + pull_request: + branches: + - '**' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Check out code + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '20' # Specify the Node.js version you are using + + - name: Install dependencies + run: yarn install + + - name: Run lint checks + run: yarn lint:check + + - name: Run Prettier checks + run: yarn prettier:check