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:
committed by
Daniël van Noord
parent
9e98208c19
commit
a1aaa3de8f
6
.github/workflows/CI.yml
vendored
6
.github/workflows/CI.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user