Skip to content

Commit

Permalink
Merge pull request #59 from github/node-20
Browse files Browse the repository at this point in the history
Upgrade to Node 20 for 2.0.0
  • Loading branch information
Federico Builes authored Jan 12, 2024
2 parents 39c8d88 + 752cda5 commit ba29f82
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependency-submission-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ inputs:
required: true
default: './'
runs:
using: 'node16'
using: 'node20'
main: 'example/dist/index.js'
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export default defineConfig({
minify: true,
sourcemap: true,
splitting: true,
target: 'node16',
target: 'node20',
treeshake: true
})

0 comments on commit ba29f82

Please sign in to comment.