Fix linting errors

This commit is contained in:
Nick Alteen
2023-09-15 12:42:04 -04:00
parent b77f506d20
commit 5b1b6219a1
2 changed files with 16 additions and 3 deletions

View File

@@ -23,6 +23,17 @@ jobs:
id: checkout
uses: actions/checkout@v4
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- name: Install Dependencies
id: install
run: npm ci
- name: Lint Code Base
id: super-linter
uses: super-linter/super-linter/slim@v5

View File

@@ -1,10 +1,12 @@
# Set the base image to use for subsequent instructions
FROM node:slim
# Create a directory for the action code
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Copy the repository contents to the container
COPY . .
# RUN npm install --production
# Run the specified command within the container
ENTRYPOINT ["node", "/dist/index.js"]
ENTRYPOINT ["node", "/usr/src/app/dist/index.js"]