From 9c8df50b1481693762f394773e451157402538d0 Mon Sep 17 00:00:00 2001 From: Andrew Bradley Date: Sat, 12 Oct 2024 01:56:13 -0400 Subject: [PATCH] upgrade gh actions; try to fix tests by upgrading webpack; fix `deno fmt` since apparently it looks at json now --- .github/workflows/test.yml | 6 +++--- package.json | 2 +- scripts/tsconfig.json | 14 +++++++------- test/ts/tsconfig.json | 18 +++++++++--------- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0024a10..2ed8344 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,11 +13,11 @@ jobs: steps: - uses: denolib/setup-deno@v2 with: - deno-version: v1.6 + deno-version: 2.x - name: Check out repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | .yarn/cache diff --git a/package.json b/package.json index 58f4796..89848c1 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "np": "^6.2.0", "ts-node": "^9.1.1", "typescript": ">=4.1.3 <4.2", - "webpack": "^4.17.2", + "webpack": "^5.95.0", "which": "^1.3.0" }, "files": [ diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json index e3ebd8a..5a465f8 100644 --- a/scripts/tsconfig.json +++ b/scripts/tsconfig.json @@ -1,9 +1,9 @@ { - "compilerOptions": { - "noEmit": true, - "target": "es5", - "module": "commonjs", - "lib": ["es2015"], - "rootDir": "." - } + "compilerOptions": { + "noEmit": true, + "target": "es5", + "module": "commonjs", + "lib": ["es2015"], + "rootDir": "." + } } diff --git a/test/ts/tsconfig.json b/test/ts/tsconfig.json index 9154822..ce4e5cb 100644 --- a/test/ts/tsconfig.json +++ b/test/ts/tsconfig.json @@ -1,11 +1,11 @@ { - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "strictNullChecks": true, - "sourceMap": false, - "noEmit": true - }, - "files": ["usage.ts"] + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "strictNullChecks": true, + "sourceMap": false, + "noEmit": true + }, + "files": ["usage.ts"] }