From cc0020cf09dc142d4894babfc8058bae73684596 Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Tue, 4 Jul 2023 13:28:54 +0200 Subject: [PATCH] Add checks Signed-off-by: Alexander Borsuk --- .github/workflows/check.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..4713b9d --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,31 @@ +name: Checks + +on: + workflow_dispatch: {} + pull_request: + types: + - opened + - synchronize + +jobs: + checks: + name: Checks + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install Node + uses: actions/setup-node@v3 + with: + node-version: 18 + + - name: Dependencies + run: npm ci + + - name: Format + run: npm run format + + - name: Test + run: npm run build