Skip to content

Commit

Permalink
Merge pull request #580 from clearlydefined/actions-docker-build-job
Browse files Browse the repository at this point in the history
Add separate job for testing Docker build
  • Loading branch information
lumaxis authored and elrayle committed Aug 12, 2024
1 parent 952e74a commit 251cc60
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run tests
name: Run Docker build and tests

on:
push:
Expand All @@ -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'
Expand All @@ -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 .

0 comments on commit 251cc60

Please sign in to comment.