ui: update workflows
This commit is contained in:
parent
24c82a30f7
commit
1dbdafe64f
4 changed files with 937 additions and 3 deletions
2
.github/workflows/frontend-dev.yaml
vendored
2
.github/workflows/frontend-dev.yaml
vendored
|
|
@ -52,7 +52,7 @@ jobs:
|
||||||
set -x
|
set -x
|
||||||
cd frontend
|
cd frontend
|
||||||
mv .env.sample .env
|
mv .env.sample .env
|
||||||
docker run --rm -v /etc/passwd:/etc/passwd -u `id -u`:`id -g` -v $(pwd):/home/${USER} -w /home/${USER} --name node_build node:14-stretch-slim /bin/bash -c "yarn && yarn build"
|
docker run --rm -v /etc/passwd:/etc/passwd -u `id -u`:`id -g` -v $(pwd):/home/${USER} -w /home/${USER} --name node_build node:20-slim /bin/bash -c "yarn && yarn build"
|
||||||
# https://github.com/docker/cli/issues/1134#issuecomment-613516912
|
# https://github.com/docker/cli/issues/1134#issuecomment-613516912
|
||||||
DOCKER_BUILDKIT=1 docker build --target=cicd -t $DOCKER_REPO/frontend:${IMAGE_TAG} .
|
DOCKER_BUILDKIT=1 docker build --target=cicd -t $DOCKER_REPO/frontend:${IMAGE_TAG} .
|
||||||
docker tag $DOCKER_REPO/frontend:${IMAGE_TAG} $DOCKER_REPO/frontend:${IMAGE_TAG}-ee
|
docker tag $DOCKER_REPO/frontend:${IMAGE_TAG} $DOCKER_REPO/frontend:${IMAGE_TAG}-ee
|
||||||
|
|
|
||||||
2
.github/workflows/frontend.yaml
vendored
2
.github/workflows/frontend.yaml
vendored
|
|
@ -60,7 +60,7 @@ jobs:
|
||||||
set -x
|
set -x
|
||||||
cd frontend
|
cd frontend
|
||||||
mv .env.sample .env
|
mv .env.sample .env
|
||||||
docker run --rm -v /etc/passwd:/etc/passwd -u `id -u`:`id -g` -v $(pwd):/home/${USER} -w /home/${USER} --name node_build node:18-slim /bin/bash -c "yarn && yarn build"
|
docker run --rm -v /etc/passwd:/etc/passwd -u `id -u`:`id -g` -v $(pwd):/home/${USER} -w /home/${USER} --name node_build node:20-slim /bin/bash -c "yarn && yarn build"
|
||||||
# https://github.com/docker/cli/issues/1134#issuecomment-613516912
|
# https://github.com/docker/cli/issues/1134#issuecomment-613516912
|
||||||
DOCKER_BUILDKIT=1 docker build --target=cicd -t $DOCKER_REPO/frontend:${IMAGE_TAG} .
|
DOCKER_BUILDKIT=1 docker build --target=cicd -t $DOCKER_REPO/frontend:${IMAGE_TAG} .
|
||||||
docker tag $DOCKER_REPO/frontend:${IMAGE_TAG} $DOCKER_REPO/frontend:${IMAGE_TAG}-ee
|
docker tag $DOCKER_REPO/frontend:${IMAGE_TAG} $DOCKER_REPO/frontend:${IMAGE_TAG}-ee
|
||||||
|
|
|
||||||
2
.github/workflows/ui-tests.js.yml
vendored
2
.github/workflows/ui-tests.js.yml
vendored
|
|
@ -27,7 +27,7 @@ jobs:
|
||||||
name: Build and test Tracker plus Replayer
|
name: Build and test Tracker plus Replayer
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [ 18.x ]
|
node-version: [ 20.x ]
|
||||||
steps:
|
steps:
|
||||||
- uses: oven-sh/setup-bun@v2
|
- uses: oven-sh/setup-bun@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
934
frontend/.yarn/releases/yarn-4.5.1.cjs
vendored
Executable file
934
frontend/.yarn/releases/yarn-4.5.1.cjs
vendored
Executable file
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue