diff --git a/.github/workflows/docker-img.yml b/.github/workflows/docker-img.yml index c5dd8b9..75bf589 100644 --- a/.github/workflows/docker-img.yml +++ b/.github/workflows/docker-img.yml @@ -17,9 +17,30 @@ env: REGISTRY: ghcr.io jobs: + lint: + name: Lint Code + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: latest + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Lint code + run: npm run lint + ghr_push: name: Build and publish container runs-on: ubuntu-latest + needs: lint permissions: contents: read packages: write