diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d074720..869bdf4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,6 +15,23 @@ permissions: contents: read jobs: + lint: + name: Lint + runs-on: ubuntu-latest + permissions: + contents: read + packages: read + # To report GitHub Actions status checks + statuses: write + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Super-linter + uses: super-linter/super-linter@v7.2.0 # x-release-please-version + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} test: name: Test runs-on: ubuntu-latest @@ -39,7 +56,7 @@ jobs: name: Deploy runs-on: ubuntu-latest environment: aws - needs: test + needs: [test, lint] steps: - name: Checkout diff --git a/neues-projekt/Dockerfile b/neues-projekt/Dockerfile index 0624365..f1d08b0 100644 --- a/neues-projekt/Dockerfile +++ b/neues-projekt/Dockerfile @@ -17,7 +17,7 @@ COPY . . RUN npm ci && npm run test:ci && npm run build -# Ab hier beginnt das Produktive Image! +# Ab hier beginnt das produktive Image! FROM node:lts-slim # Das LABEL muss hier gesetzt sein!