mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 04:07:31 +00:00
use cache
This commit is contained in:
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@@ -49,5 +49,6 @@ jobs:
|
||||
set: |
|
||||
*.cache-from=type=gha
|
||||
*.cache-to=type=gha,mode=max
|
||||
targets: login-lint
|
||||
- name: Run
|
||||
run: make login-lint
|
||||
|
2
Makefile
2
Makefile
@@ -41,7 +41,7 @@ login-lint-run:
|
||||
|
||||
.PHONY: login-lint
|
||||
login-lint: login-lint-build
|
||||
./scripts/run_or_skip.sh login-lint-run $(LOGIN_LINT_TAG)
|
||||
# ./scripts/run_or_skip.sh login-lint-run $(LOGIN_LINT_TAG)
|
||||
|
||||
login-test-unit-build:
|
||||
docker buildx bake login-test-unit
|
||||
|
@@ -1,7 +1,5 @@
|
||||
group "default" {
|
||||
targets = [
|
||||
"login-pnpm",
|
||||
"login-dev-base",
|
||||
"login-lint",
|
||||
]
|
||||
}
|
||||
|
@@ -7,3 +7,4 @@ COPY apps/login/package.json apps/login/
|
||||
RUN --mount=type=cache,target=${PNPM_HOME} \
|
||||
pnpm install --frozen-lockfile --prefer-offline --workspace-root --filter zitadel-login
|
||||
COPY apps/login apps/login
|
||||
RUN pnpm lint && pnpm format --check
|
||||
|
Reference in New Issue
Block a user