diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fa7ad9dea..dd4c55980 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ image: tcitworld/mobilizon-ci stages: - install + - security - check - build-js - test @@ -50,6 +51,22 @@ install: - mix deps.get - mix compile +security-frontend: + stage: security + script: + - npm audit + allow_failure: true + needs: + - install + +security-backend: + stage: security + script: + - mix hex.audit + allow_failure: true + needs: + - install + lint-elixir: stage: check before_script: @@ -78,6 +95,28 @@ lint-front: - npx prettier -c . || export EXITVALUE=1 - exit $EXITVALUE +deps: + stage: check + before_script: + - apt update + - apt install -y gawk + - rm -rf ~/.hex/cache.ets + - mix deps.get + script: + - ./check_deps.sh + allow_failure: true + needs: + - install + +i18n-frontend: + image: python:alpine + stage: check + script: + - python3 check_i18n.py + allow_failure: true + needs: + - install + build-frontend: stage: build-js image: node:22 @@ -94,44 +133,6 @@ build-frontend: needs: - lint-front -deps: - stage: check - before_script: - - apt update - - apt install -y gawk - - rm -rf ~/.hex/cache.ets - - mix deps.get - script: - - ./check_deps.sh - allow_failure: true - needs: - - install - -security-frontend: - stage: check - script: - - npm audit - allow_failure: true - needs: - - install - -security-backend: - stage: check - script: - - mix hex.audit - allow_failure: true - needs: - - install - -i18n-frontend: - image: python:alpine - stage: check - script: - - python3 check_i18n.py - allow_failure: true - needs: - - install - exunit: stage: test services: diff --git a/tests/unit/specs/views/Group/__snapshots__/GroupInvitationJoin.spec.ts.snap b/tests/unit/specs/views/Group/__snapshots__/GroupInvitationJoin.spec.ts.snap index 9e96eaef4..e31c88b7c 100644 --- a/tests/unit/specs/views/Group/__snapshots__/GroupInvitationJoin.spec.ts.snap +++ b/tests/unit/specs/views/Group/__snapshots__/GroupInvitationJoin.spec.ts.snap @@ -6,7 +6,7 @@ exports[`GroupInvitationJoin > Show simple 1`] = `
Do you want to join the group "mygroup" with the profile "test" ?
-You can create a new profile or change the actual profile with the top menu.