Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
root: false,
};
env: { node: true },
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
root: false,
rules: {
"@typescript-eslint/no-explicit-any": "off",
}
};
10 changes: 5 additions & 5 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ jobs:

strategy:
matrix:
node-version: [14.x]
node-version: [24.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
- name: yarn install and lint
- name: npm install and lint
run: |
yarn
npm install
npx eslint ./src
env:
CI: true
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ jobs:

strategy:
matrix:
node-version: [14.x]
node-version: [24.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
- name: yarn install and test
- name: npm install and test
run: |
yarn
yarn test
npm install
npm test
env:
CI: true
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-slim
FROM node:24-slim

# System level dependencies
RUN apt-get update
Expand All @@ -13,6 +13,6 @@ COPY --chown=direviu:direviu . .
RUN mkdir -p /home/direviu/student-submission

RUN npm config set package-lock false
RUN yarn install --production=true
RUN npm install --omit=dev

ENTRYPOINT ["/bin/bash", "entrypoint.sh"]
Loading