Skip to content

feat: build Docker image and push to ECR (#4) #7

feat: build Docker image and push to ECR (#4)

feat: build Docker image and push to ECR (#4) #7

Workflow file for this run

name: Lint and format files
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint-format:
name: Lint and format files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies and lint files
run: |
npm ci
npm run lint
npm run format