Skip to content

Commit

Permalink
Update dev dependencies & lint
Browse files Browse the repository at this point in the history
  • Loading branch information
StorytellerCZ committed Dec 12, 2024
1 parent 8b1234f commit 31b2e39
Show file tree
Hide file tree
Showing 4 changed files with 923 additions and 521 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-20-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node-22-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-20-
${{ runner.os }}-node-22-
- run: |
npm ci
Expand Down
1 change: 1 addition & 0 deletions check-npm-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ interface indexAny {
// - version# if incompatible version is installed
const compatibleVersionIsInstalled = (name: string, range: string | semver.Range): boolOrString => {
try {
// eslint-disable-next-line
const installedVersion = require(`${name}/package.json`).version;
if (semver.satisfies(installedVersion, range)) {
return true;
Expand Down
Loading

0 comments on commit 31b2e39

Please sign in to comment.