Skip to content

Commit

Permalink
chore(workspace): update to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
hakalb committed Jan 28, 2024
1 parent 7b863ae commit 2251317
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/actions/affected-projects/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ description: Get affected Nx projects by code changes which have 'version' targe

inputs:
node-version:
description: 'Node.js version (default: 18)'
description: 'Node.js version (default: 20)'
required: false
default: '18'
default: '20'

outputs:
projects:
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ inputs:
description: Git token with permission to push to protected branches (github token cannot, though it's default)
required: false
node-version:
description: 'Node.js version (default: 18)'
description: 'Node.js version (default: 20)'
required: false
default: '18'
default: '20'
commit-user-name:
description: User name on the release commit created by git (defaults to action user)
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ on:
default: false

env:
node_version: 18
node_version: 20

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.11.0
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.11.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "MIT",
"private": true,
"engines": {
"node": ">=18.17"
"node": ">=20.11"
},
"scripts": {
"c": "czg",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function createDockerfile(host: Tree, options: NormalizedSchema): void {
const pmCommand = getPackageManagerCommand();

const content = `
FROM node:18.8-alpine as base
FROM node:20-alpine as base
FROM base as builder
Expand Down

0 comments on commit 2251317

Please sign in to comment.