From 049c3dad267014258b94ec0f9c67823fa461408a Mon Sep 17 00:00:00 2001 From: Thomas Deinhamer Date: Wed, 24 Jul 2024 23:31:43 +0200 Subject: [PATCH] Add github workflow configuration --- .github/workflows/check.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/check.yaml diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml new file mode 100644 index 0000000..e1ce008 --- /dev/null +++ b/.github/workflows/check.yaml @@ -0,0 +1,29 @@ +name: CHECK + +on: + pull_request: + push: + branches: + - main + +jobs: + install: + runs-on: ubuntu-latest + steps: + - name: checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: setup package manager + uses: pnpm/action-setup@v4 + with: + run_install: false + - name: install node + uses: actions/setup-node@v4 + with: + cache: 'pnpm' + node-version-file: '.nvmrc' + - name: install dependencies + run: pnpm install + - name: lint codebase + run: pnpm lint