fix(ci): Docker is missing in small/medium act runners
This commit is contained in:
parent
3d64030895
commit
33ff92b6a7
1 changed files with 9 additions and 0 deletions
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
@ -1,4 +1,7 @@
|
|||
name: CI
|
||||
runner:
|
||||
envs:
|
||||
DOCKER_HOST: tcp://docker-in-docker:2375
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
@ -24,6 +27,12 @@ jobs:
|
|||
with:
|
||||
node-version: 20.x
|
||||
cache: npm
|
||||
- name: Install Docker
|
||||
run: apt update && apt install docker.io -y
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: npm run format-check
|
||||
|
|
Loading…
Reference in a new issue