Update dependencies and remove unneeded things. This allows building on node v22. Also rely on configs for eslint/prettier so CI and command line runs are guaranteed to be consistent.

This commit is contained in:
Kevin Radloff
2025-02-13 08:07:13 -05:00
committed by Daniël van Noord
parent 9e98208c19
commit a1aaa3de8f
145 changed files with 3775 additions and 5909 deletions

View File

@@ -10,16 +10,16 @@ jobs:
Check_linting_test_and_build:
runs-on: ubuntu-latest
env:
GITHUB_REGISTERY_PAT: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REGISTRY_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: 22
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npx eslint src
run: npx eslint
- name: Run Mocha tests
run: npx mocha
- name: Check if CookieMonsterDev.js is built correctly