Skip to content

Commit

Permalink
ci(lint): add linter
Browse files Browse the repository at this point in the history
  • Loading branch information
codingluke committed Dec 8, 2024
1 parent a0d976a commit 2a40fcb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected] # x-release-please-version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
test:
name: Test
runs-on: ubuntu-latest
Expand All @@ -39,7 +56,7 @@ jobs:
name: Deploy
runs-on: ubuntu-latest
environment: aws
needs: test
needs: [test, lint]

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion neues-projekt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down

0 comments on commit 2a40fcb

Please sign in to comment.