Skip to content

Commit

Permalink
Merge pull request clearlydefined#580 from clearlydefined/actions-doc…
Browse files Browse the repository at this point in the history
…ker-build-job

Add separate job for testing Docker build
  • Loading branch information
lumaxis authored Jun 10, 2024
2 parents 2ce4fdf + 5926c39 commit 3411b76
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 3411b76

Please sign in to comment.