mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 08:07:32 +00:00
fix runs and contexts
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
*
|
||||
!pnpm-lock.yaml
|
||||
!pnpm-workspace.yaml
|
@@ -5,8 +5,8 @@ ENV SHELL=/bin/bash \
|
||||
LANG=C.UTF-8 \
|
||||
LC_ALL=C.UTF-8 \
|
||||
CI=1 \
|
||||
PNPM_HOME=/root/.local/share/pnpm \
|
||||
PATH=/root/.local/share/pnpm:$PATH
|
||||
PNPM_HOME=/home/node/.local/share/pnpm \
|
||||
PATH=/home/node/.local/share/pnpm:$PATH
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get --no-install-recommends install -y \
|
||||
@@ -14,5 +14,9 @@ RUN apt-get update && \
|
||||
apt-get clean && \
|
||||
corepack enable && COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@9.1.2 --activate
|
||||
|
||||
COPY pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
RUN pnpm install --frozen-lockfile --recursive
|
||||
USER node
|
||||
WORKDIR /home/node/preinstall
|
||||
COPY pnpm-lock.yaml ./
|
||||
RUN pnpm fetch
|
||||
RUN cd /home/node && pwd && ls -la && whoami
|
||||
RUN pnpm store path
|
4
.devcontainer/base/Dockerfile.dockerignore
Normal file
4
.devcontainer/base/Dockerfile.dockerignore
Normal file
@@ -0,0 +1,4 @@
|
||||
*
|
||||
!pnpm-lock.yaml
|
||||
!pnpm-workspace.yaml
|
||||
!**/package.json
|
@@ -21,7 +21,7 @@
|
||||
4200,
|
||||
8080
|
||||
],
|
||||
"onCreateCommand": "pnpm install -g sass@1.64.1",
|
||||
"onCreateCommand": "pnpm install --frozen-lockfile --recursive --prefer-offline",
|
||||
"customizations": {
|
||||
"jetbrains": {
|
||||
"settings": {
|
||||
|
@@ -13,13 +13,6 @@
|
||||
"forwardPorts": [
|
||||
3001
|
||||
],
|
||||
"onCreateCommand": "pnpm cypress install",
|
||||
"postAttachCommand": "pnpm turbo daemon clean || true; pnpm turbo test:integration:login",
|
||||
"customizations": {
|
||||
"jetbrains": {
|
||||
"settings": {
|
||||
"com.intellij:app:HttpConfigurable.use_proxy_pac": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"onCreateCommand": "pnpm install && pnpm cypress install",
|
||||
"postAttachCommand": "pnpm turbo daemon clean || true; pnpm turbo test:integration:login"
|
||||
}
|
@@ -12,12 +12,6 @@
|
||||
"forwardPorts": [
|
||||
3001
|
||||
],
|
||||
"onCreateCommand": "pnpm cypress install && pnpm test:integration:login",
|
||||
"customizations": {
|
||||
"jetbrains": {
|
||||
"settings": {
|
||||
"com.intellij:app:HttpConfigurable.use_proxy_pac": true
|
||||
}
|
||||
}
|
||||
}
|
||||
"onCreateCommand": "pnpm install --frozen-lockfile && pnpm cypress install",
|
||||
"postAttachCommand": "pnpm test:integration:login"
|
||||
}
|
@@ -13,12 +13,6 @@
|
||||
"forwardPorts": [
|
||||
3001
|
||||
],
|
||||
"postAttachCommand": "pnpm turbo daemon clean || true; pnpm turbo watch lint test:unit",
|
||||
"customizations": {
|
||||
"jetbrains": {
|
||||
"settings": {
|
||||
"com.intellij:app:HttpConfigurable.use_proxy_pac": true
|
||||
}
|
||||
}
|
||||
}
|
||||
"onCreateCommand": "pnpm install --recursive",
|
||||
"postAttachCommand": "pnpm turbo daemon clean || true; pnpm turbo watch lint test:unit"
|
||||
}
|
@@ -9,12 +9,6 @@
|
||||
"devcontainer"
|
||||
],
|
||||
"workspaceFolder": "/workspaces",
|
||||
"postStartCommand": "pnpm turbo lint test:unit",
|
||||
"customizations": {
|
||||
"jetbrains": {
|
||||
"settings": {
|
||||
"com.intellij:app:HttpConfigurable.use_proxy_pac": true
|
||||
}
|
||||
}
|
||||
}
|
||||
"onCreateCommand": "pnpm install --frozen-lockfile --recursive",
|
||||
"postAttachCommand": "pnpm turbo lint test:unit"
|
||||
}
|
Reference in New Issue
Block a user