From 752cda51fd0ed909622c87c90ad223acab30b086 Mon Sep 17 00:00:00 2001 From: Federico Builes Date: Fri, 12 Jan 2024 15:45:34 +0100 Subject: [PATCH] upgrade to Node 20 --- .github/workflows/dependency-submission-example.yml | 2 +- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 2 +- action.yml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- tsup.config.ts | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dependency-submission-example.yml b/.github/workflows/dependency-submission-example.yml index c2e0f83..d2217c6 100644 --- a/.github/workflows/dependency-submission-example.yml +++ b/.github/workflows/dependency-submission-example.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - name: Install NPM dependencies run: npm ci - name: Run all NPM build/test actions diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a2e82b9..c950343 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 registry-url: https://registry.npmjs.org - run: npm ci - run: npm test diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a8ce079..3cd86b3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - name: Install NPM dependencies run: npm ci - name: Run all NPM build/test actions diff --git a/action.yml b/action.yml index f3770bb..72c4ca4 100644 --- a/action.yml +++ b/action.yml @@ -10,5 +10,5 @@ inputs: required: true default: './' runs: - using: 'node16' + using: 'node20' main: 'example/dist/index.js' diff --git a/package-lock.json b/package-lock.json index f1e77fe..468fe0b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@github/dependency-submission-toolkit", - "version": "1.2.9", + "version": "2.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@github/dependency-submission-toolkit", - "version": "1.2.9", + "version": "2.0.0", "license": "MIT", "workspaces": [ "example" diff --git a/package.json b/package.json index bf54cf1..d19dfef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@github/dependency-submission-toolkit", - "version": "1.2.9", + "version": "2.0.0", "description": "A TypeScript library for creating dependency snapshots.", "homepage": "https://github.com/github/dependency-submission-toolkit", "bugs": { diff --git a/tsup.config.ts b/tsup.config.ts index a250379..1627a2c 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -8,6 +8,6 @@ export default defineConfig({ minify: true, sourcemap: true, splitting: true, - target: 'node16', + target: 'node20', treeshake: true })