Skip to content

Commit

Permalink
added linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dpoetzsch committed Feb 7, 2024
1 parent 8c51ee2 commit f7dc325
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Lint

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
release:
types: [ created ]

permissions:
contents: read
packages: write

jobs:
build_docker:
runs-on: ubuntu-22.04
name: Build & publish docker image
steps:
- name: Install NodeJS
uses: actions/setup-node@v2
- name: Check out the repo
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci --cache .npm --prefer-offline
- name: prettier-check
run: npm run prettier-check
- name: lint
run: npm run lint -- --quiet

0 comments on commit f7dc325

Please sign in to comment.