use cache

This commit is contained in:
Elio Bischof
2025-06-17 02:20:23 +02:00
parent ffb670ce7b
commit eac15c6810
2 changed files with 3 additions and 4 deletions

View File

@@ -12,7 +12,6 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: ls -lah turbo.json .npmrc package.json pnpm-lock.yaml pnpm-workspace.yaml
- name: Set up persistent Buildx builder
id: buildx
uses: docker/setup-buildx-action@v3
@@ -20,7 +19,6 @@ jobs:
install: true
driver: docker-container
use: true
- run: ls -lah turbo.json .npmrc package.json pnpm-lock.yaml pnpm-workspace.yaml
- name: Cache
uses: actions/cache@v3
id: pnpm-store-cache
@@ -45,7 +43,5 @@ jobs:
set: |
*.cache-from=type=gha
*.cache-to=type=gha,mode=max
*.output=type=docker
- run: ls -lah turbo.json .npmrc package.json pnpm-lock.yaml pnpm-workspace.yaml
- name: Run
run: make login-lint

View File

@@ -6,6 +6,7 @@ group "default" {
target "login-pnpm" {
dockerfile = "dockerfiles/login-pnpm.Dockerfile"
output = ["type=docker"]
}
target "login-dev-base" {
@@ -13,6 +14,7 @@ target "login-dev-base" {
contexts = {
login-pnpm = "target:login-pnpm"
}
output = ["type=docker"]
}
variable "LOGIN_LINT_TAG" {
@@ -25,6 +27,7 @@ target "login-lint" {
login-dev-base = "target:login-dev-base"
}
tags = ["${LOGIN_LINT_TAG}"]
output = ["type=docker"]
}
variable "LOGIN_TEST_UNIT_TAG" {