Skip to content

Commit

Permalink
Include linting into CI/CD pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
vguleaev committed Sep 1, 2024
1 parent 2044a07 commit 8f0bd19
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: '1.1.12'

- name: Install dependencies
run: bun install

- name: Run ESLint
run: bun run lint

- name: Build Docker image
run: docker build . -t docker.io/${{ env.DOCKER_USER }}/${{ env.APP_NAME }}:${{ github.sha }}

Expand Down

0 comments on commit 8f0bd19

Please sign in to comment.