From 24a8d92c7cf1d64e9adad2a5d2858debfef9c134 Mon Sep 17 00:00:00 2001 From: Marco Franssen Date: Tue, 12 Sep 2023 10:42:21 +0200 Subject: [PATCH] Bump Node from 16 to Node 20 --- .github/workflows/release.yaml | 2 +- .github/workflows/test-iamlive-action.yaml | 4 ++-- .github/workflows/update-dist.yaml | 2 +- action.yml | 2 +- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- tsconfig.json | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ad37e7f..78a0fc5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,7 +22,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3.8.1 with: - node-version: '16' + node-version: '20' - name: Setup pnpm run: npm install -g pnpm diff --git a/.github/workflows/test-iamlive-action.yaml b/.github/workflows/test-iamlive-action.yaml index 6e256a1..7b16141 100644 --- a/.github/workflows/test-iamlive-action.yaml +++ b/.github/workflows/test-iamlive-action.yaml @@ -19,7 +19,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3.8.1 with: - node-version: '16' + node-version: '20' - name: Setup pnpm run: npm install --location=global pnpm @@ -59,7 +59,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3.8.1 with: - node-version: '16' + node-version: '20' - name: Setup Python uses: actions/setup-python@v4.7.0 diff --git a/.github/workflows/update-dist.yaml b/.github/workflows/update-dist.yaml index 27cd8b2..252b98f 100644 --- a/.github/workflows/update-dist.yaml +++ b/.github/workflows/update-dist.yaml @@ -71,7 +71,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3.8.1 with: - node-version: '16' + node-version: '20' - name: Setup pnpm run: npm install --location=global pnpm diff --git a/action.yml b/action.yml index bf9e510..a5091fa 100644 --- a/action.yml +++ b/action.yml @@ -24,6 +24,6 @@ outputs: iamlive-version: description: 'The iamlive version that was installed' runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' post: 'dist/capture-policy/index.js' diff --git a/package.json b/package.json index 0697ed5..7168a91 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "find-process": "^1.4.7" }, "devDependencies": { - "@tsconfig/node16": "^16.1.1", + "@tsconfig/node20": "^20.1.2", "@types/node": "^20.6.0", "@vercel/ncc": "^0.38.0", "typescript": "^5.2.2" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 02ebfcc..9e51ed7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,9 +19,9 @@ dependencies: version: 1.4.7 devDependencies: - '@tsconfig/node16': - specifier: ^16.1.1 - version: 16.1.1 + '@tsconfig/node20': + specifier: ^20.1.2 + version: 20.1.2 '@types/node': specifier: ^20.6.0 version: 20.6.0 @@ -77,8 +77,8 @@ packages: uuid: 3.4.0 dev: false - /@tsconfig/node16@16.1.1: - resolution: {integrity: sha512-+pio93ejHN4nINX4pXqfnR/fPLRtJBaT4ORaa5RH0Oc1zoYmo2B2koG+M328CQhHKn1Wj6FcOxCDFXAot9NhvA==} + /@tsconfig/node20@20.1.2: + resolution: {integrity: sha512-madaWq2k+LYMEhmcp0fs+OGaLFk0OenpHa4gmI4VEmCKX4PJntQ6fnnGADVFrVkBj0wIdAlQnK/MrlYTHsa1gQ==} dev: true /@types/node@20.6.0: diff --git a/tsconfig.json b/tsconfig.json index e9c0baf..b994545 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,3 @@ { - "extends": "@tsconfig/node16/tsconfig.json" + "extends": "@tsconfig/node20/tsconfig.json" }