Skip to content

Commit

Permalink
Write github-action.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
khkim6040 committed Mar 24, 2024
1 parent 7581d35 commit b4307d5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/github-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,23 @@ env:
ECR_REPOSITORY: popo-admin-web

jobs:
prettier_and_eslint_check:
name: Prettier and ESLint check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Run Prettier
run: npx prettier --check .
- name: Run ESLint
run: npx eslint .

docker_build_and_push:
name: Docker build and push
runs-on: ubuntu-latest
Expand Down

0 comments on commit b4307d5

Please sign in to comment.