Skip to content

Commit

Permalink
refactor: upgrade all actions to run on node 20 (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric authored Nov 24, 2023
1 parent 7f1c170 commit b3e5355
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inputs:

node-version:
description: Version of Node to use
default: 18.x
default: 20.x

runs:
using: composite
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ branding:
icon: terminal
color: gray-dark
runs:
using: node16
using: node20
main: build/setup/index.js
inputs:
expo-version:
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion command/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ branding:
icon: message-circle
color: gray-dark
runs:
using: node16
using: node20
main: ../build/command/index.js
inputs:
github-token:
Expand Down
2 changes: 1 addition & 1 deletion fingerprint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ branding:
icon: smartphone
color: gray-dark
runs:
using: node16
using: node20
main: ../build/fingerprint/index.js
post: ../build/fingerprint-post/index.js
post-if: success()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@tsconfig/node16": "^1.0.3",
"@tsconfig/node20": "^20.1.2",
"@types/jest": "^29.2.5",
"@types/node": "^16.18.11",
"@types/uuid": "^9.0.3",
Expand Down
2 changes: 1 addition & 1 deletion preview-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ branding:
icon: smartphone
color: gray-dark
runs:
using: node16
using: node20
main: ../build/preview-build/index.js
inputs:
command:
Expand Down
2 changes: 1 addition & 1 deletion preview-comment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ branding:
icon: message-circle
color: gray-dark
runs:
using: node16
using: node20
main: ../build/preview-comment/index.js
inputs:
project:
Expand Down
2 changes: 1 addition & 1 deletion preview/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ branding:
icon: smartphone
color: gray-dark
runs:
using: node16
using: node20
main: ../build/preview/index.js
inputs:
command:
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"extends": "@tsconfig/node16",
"extends": "@tsconfig/node20",
"compilerOptions": {
"outDir": "./build",
"rootDir": "./src"
"rootDir": "./src",
"moduleResolution": "node"
},
"exclude": [
"build",
Expand Down

0 comments on commit b3e5355

Please sign in to comment.