From e9c518fdeda2d50ea2af25acf7cae2e3ed7e19d4 Mon Sep 17 00:00:00 2001 From: uiolee <22849383+uiolee@users.noreply.github.com> Date: Tue, 25 Jun 2024 19:59:45 +0800 Subject: [PATCH 1/2] build: upgrade ecmascript version --- tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 78046e5376..6277f08394 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "module": "commonjs", - "target": "es6", + "target": "es2020", "sourceMap": true, "outDir": "dist", "declaration": true, @@ -17,4 +17,4 @@ "exclude": [ "node_modules" ] -} \ No newline at end of file +} From 9d6ea911cc0a3ed4c5a6889143e42c3dff60494a Mon Sep 17 00:00:00 2001 From: uiolee <22849383+uiolee@users.noreply.github.com> Date: Tue, 25 Jun 2024 20:06:48 +0800 Subject: [PATCH 2/2] ci: adjust conditions of check --- .github/workflows/linter.yml | 1 - .github/workflows/tester.yml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index a4f1c7cfd1..0432976eb7 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -4,7 +4,6 @@ on: push: branches: - "master" - - "v7.0.0" paths: - "lib/**" - "test/**" diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index 700cda5872..7c443e7418 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -4,17 +4,18 @@ on: push: branches: - "master" - - "v7.0.0" paths: - "lib/**" - "test/**" - "package.json" + - "tsconfig.json" - ".github/workflows/tester.yml" pull_request: paths: - "lib/**" - "test/**" - "package.json" + - "tsconfig.json" - ".github/workflows/tester.yml" permissions: