From 5926c395722fb1eb8dcfd4783abcf174881df90e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Spie=C3=9F?= Date: Thu, 30 May 2024 16:28:41 +0200 Subject: [PATCH] Add separate job for testing Docker build --- .github/workflows/test.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 781defbf..964d0e25 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Run tests +name: Run Docker build and tests on: push: @@ -13,11 +13,12 @@ permissions: jobs: test: + name: Run tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v4.0.1 + - uses: actions/setup-node@v4 with: node-version: 18 cache: 'npm' @@ -27,3 +28,12 @@ jobs: - name: Run tests run: npm test + + docker-build: + name: Build Docker image + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Docker build + run: docker build .