From 5ffd2030d4df1c0effb34c18aaabb7c7710c066c Mon Sep 17 00:00:00 2001 From: Rafal Dziegielewski Date: Tue, 20 Feb 2024 10:40:43 +0100 Subject: [PATCH] chore: downgrade gh actions to node v18 --- .github/workflows/push.yml | 8 ++++---- package.json | 3 +-- yarn.lock | 29 +---------------------------- 3 files changed, 6 insertions(+), 34 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index ce8d8aa48..c0908f9ae 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -11,7 +11,7 @@ jobs: - name: Setup uses: actions/setup-node@v3 with: - node-version: '20' + node-version: '18.17' cache: 'yarn' - name: Install run: yarn install --frozen-lockfile @@ -26,7 +26,7 @@ jobs: - name: Setup uses: actions/setup-node@v3 with: - node-version: '20' + node-version: '18.17' cache: 'yarn' - name: Install run: yarn install @@ -90,7 +90,7 @@ jobs: - name: Setup uses: actions/setup-node@v3 with: - node-version: '20' + node-version: '18.17' cache: 'yarn' - name: Install run: yarn install @@ -134,7 +134,7 @@ jobs: - name: Setup uses: actions/setup-node@v3 with: - node-version: '20' + node-version: '18.17' cache: 'yarn' - name: Install run: yarn install diff --git a/package.json b/package.json index cf3cde9ed..2256f7418 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "./bundler": "./lib/backend/bundler/index.js" }, "scripts": { - "test": "mocha --import=tsx/esm ./spec/index.js", + "test": "mocha --loader=ts-node/esm ./spec/index.js", "types": "tsc", "clean": "rm -rf lib && mkdir lib && rm -fr types && mkdir types", "build": "babel src --out-dir lib --copy-files --extensions '.ts,.js,.jsx,.tsx'", @@ -175,7 +175,6 @@ "sinon": "^15.0.2", "sinon-chai": "^3.7.0", "ts-node": "^10.9.2", - "tsx": "^4.7.1", "typescript": "^5.3.3" }, "resolutions": { diff --git a/yarn.lock b/yarn.lock index 48838d06c..27c03f9bd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4984,7 +4984,7 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -esbuild@^0.19.4, esbuild@~0.19.10: +esbuild@^0.19.4: version "0.19.12" resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.19.12.tgz#dc82ee5dc79e82f5a5c3b4323a2a641827db3e04" integrity sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg== @@ -5559,11 +5559,6 @@ fsevents@~2.3.2: resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== -fsevents@~2.3.3: - version "2.3.3" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" - integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== - function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -5645,13 +5640,6 @@ get-symbol-description@^1.0.0: call-bind "^1.0.2" get-intrinsic "^1.1.1" -get-tsconfig@^4.7.2: - version "4.7.2" - resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.7.2.tgz#0dcd6fb330391d46332f4c6c1bf89a6514c2ddce" - integrity sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A== - dependencies: - resolve-pkg-maps "^1.0.0" - git-log-parser@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/git-log-parser/-/git-log-parser-1.2.0.tgz#2e6a4c1b13fc00028207ba795a7ac31667b9fd4a" @@ -9058,11 +9046,6 @@ resolve-global@1.0.0, resolve-global@^1.0.0: dependencies: global-dirs "^0.1.1" -resolve-pkg-maps@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz#616b3dc2c57056b5588c31cdf4b3d64db133720f" - integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw== - resolve@^1.10.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.22.1: version "1.22.1" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" @@ -9919,16 +9902,6 @@ tsutils@^3.21.0: dependencies: tslib "^1.8.1" -tsx@^4.7.1: - version "4.7.1" - resolved "https://registry.yarnpkg.com/tsx/-/tsx-4.7.1.tgz#27af6cbf4e1cdfcb9b5425b1c61bb7e668eb5e84" - integrity sha512-8d6VuibXHtlN5E3zFkgY8u4DX7Y3Z27zvvPKVmLon/D4AjuKzarkUBTLDBgj9iTQ0hg5xM7c/mYiRVM+HETf0g== - dependencies: - esbuild "~0.19.10" - get-tsconfig "^4.7.2" - optionalDependencies: - fsevents "~2.3.3" - type-check@^0.4.0, type-check@~0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1"