@ -12,4 +12,4 @@ jobs:
- name: Install modules
run: yarn
- name: Run ESLint
run: yarn run eslint . --ext .js,.jsx,.ts,.tsx
run: yarn run eslint ./src --ext .js,.jsx,.ts,.tsx
@ -6,9 +6,11 @@ WORKDIR /usr/src/app
# Install deps
COPY package.json ./
COPY yarn.lock ./
RUN yarn
COPY . .
# Build
RUN yarn tsc
COPY ./built/* .
CMD [ "node", "index.js" ]