Skip to content

Commit 016de41

Browse files
committed
ci
1 parent efbbec3 commit 016de41

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/unit.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ jobs:
44
unit:
55
name: Unit Tests
66
runs-on: ubuntu-latest
7-
strategy:
8-
matrix:
9-
node-version: [20.x,22.x]
107

118
steps:
129
- name: Main checkout
1310
uses: actions/checkout@v4
1411

12+
- name: Set up Docker Buildx
13+
uses: docker/setup-buildx-action@v3
14+
1515
- name: Run unit tests
16+
env:
17+
COMPOSE_BAKE: 'true'
1618
run: make test-ci

dockerfiles/docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ services:
99
ADDON_NAME: '${ADDON_NAME}'
1010
ADDON_PATH: '${ADDON_PATH}'
1111
VOLTO_VERSION: ${VOLTO_VERSION:-17}
12+
cache_from:
13+
- type=gha
14+
cache_to:
15+
- type=gha,mode=max
1216
volumes:
1317
- ${CURRENT_DIR}:/app/src/addons/${ADDON_PATH}/
1418
environment:

0 commit comments

Comments
 (0)