From 4ec84bf0e3fbdf1f173dc13380b2483375438c59 Mon Sep 17 00:00:00 2001 From: "Storm B. Heg" Date: Thu, 5 Oct 2023 16:19:31 +0200 Subject: [PATCH] Lint and build javascript in CI --- .github/workflows/test.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ce6e63c..01d5988 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,28 @@ on: workflow_call: # Allow for the publish workflows to run the tests by calling this workflow jobs: - test: + qa_javascript: + name: JavaScript + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-node@v3 + with: + cache: 'npm' + node-version: 14 + - name: Install dependencies + run: | + npm ci + - name: Lint JavaScript + run: | + npm run lint + - name: Compile JavaScript + run: | + npm run build + + qa_python: services: postgres: image: postgres:16