From 999ef18398b706a5826495cb1978bfe28d128259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Spie=C3=9F?= Date: Thu, 4 Apr 2024 11:15:59 +0000 Subject: [PATCH 1/2] Add Docker build to Actions workflow --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 555259d6..dd810341 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,3 +27,6 @@ jobs: - name: Run tests run: npm test + + - name: Docker build + run: docker build -t clearlydefined/website:latest . From 24ae732b99d4e2045725cb63283aa501551c576e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Spie=C3=9F?= Date: Thu, 4 Apr 2024 11:16:19 +0000 Subject: [PATCH 2/2] Remove Azure Pipelines config --- azure-pipelines.yml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index fec5155c..00000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,24 +0,0 @@ -# Node.js with React -# Build a Node.js project that uses React. -# Add steps that analyze code, save build artifacts, deploy, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript - -pool: - vmImage: 'ubuntu-20.04' - -steps: - - task: NodeTool@0 - inputs: - versionSpec: '10.x' - displayName: 'Install Node.js' - - - script: | - npm install - displayName: 'npm install' - - - script: | - npm test - displayName: 'npm test' - - - script: docker build -t clearlydefined/website:latest . - displayName: 'Docker build'