add backend linting to github test workflow

This commit is contained in:
mahula 2023-02-10 08:30:58 +01:00
parent fa72f9666a
commit a3e2b34ff3

View File

@ -360,6 +360,35 @@ jobs:
- name: backend | Lint
run: docker run --rm gradido/backend:test yarn run lint
##############################################################################
# JOB: LOCALES BACKEND #######################################################
##############################################################################
locales_frontend:
name: Locales - Backend
runs-on: ubuntu-latest
needs: [build_test_backend]
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
##########################################################################
- name: Checkout code
uses: actions/checkout@v3
##########################################################################
# DOWNLOAD DOCKER IMAGE ##################################################
##########################################################################
- name: Download Docker Image (Backend)
uses: actions/download-artifact@v3
with:
name: docker-backendend-test
path: /tmp
- name: Load Docker Image
run: docker load < /tmp/backend.tar
##########################################################################
# LOCALES FRONTEND #######################################################
##########################################################################
- name: Backendend | Locales
run: docker run --rm gradido/backend:test yarn run locales
##############################################################################
# JOB: LINT DATABASE UP ######################################################
##############################################################################