mirror of
https://github.com/unraid/api.git
synced 2026-02-04 23:19:04 -06:00
fix: rearrange build
This commit is contained in:
6
.github/workflows/pull-request.yml
vendored
6
.github/workflows/pull-request.yml
vendored
@@ -44,6 +44,11 @@ jobs:
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
lint-api:
|
||||
services:
|
||||
registry: # Using a local registry is ~3x faster than exporting the image to docker agent
|
||||
image: registry:2
|
||||
ports:
|
||||
- 5000:5000
|
||||
needs: [build-cache]
|
||||
continue-on-error: true
|
||||
defaults:
|
||||
@@ -73,7 +78,6 @@ jobs:
|
||||
docker run localhost:5000/unraid-api:builder npm run lint
|
||||
|
||||
test-api:
|
||||
|
||||
services:
|
||||
registry: # Using a local registry is ~3x faster than exporting the image to docker agent
|
||||
image: registry:2
|
||||
|
||||
Reference in New Issue
Block a user