1
0
Fork 0
forked from mirror/cinny

Use Node Hydrogen LTS (#960)

* Use node hydrogen lts in dockerfile

* Use node v18.12.0

* Use node v18.12.0

* Use node v18.12.0

* use lts syntax

* Update Nodejs LTS to v18.12.1

* Update Dockerfile

* Update Dockerfile

* Update readme
This commit is contained in:
Krishan 2022-11-08 20:21:51 +05:30 committed by GitHub
parent 1302682900
commit 4fe4c8bb03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View file

@ -16,7 +16,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3.5.1
with:
node-version: 17.9.0
node-version: 18.12.1
cache: 'npm'
- name: Install dependencies
run: npm ci
@ -35,4 +35,4 @@ jobs:
with:
name: pr
path: ./pr.txt
retention-days: 1
retention-days: 1

View file

@ -15,7 +15,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3.5.1
with:
node-version: 17.9.0
node-version: 18.12.1
cache: 'npm'
- name: Install dependencies
run: npm ci

View file

@ -14,7 +14,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3.5.1
with:
node-version: 17.9.0
node-version: 18.12.1
cache: 'npm'
- name: Install dependencies
run: npm ci

View file

@ -1,5 +1,5 @@
## Builder
FROM node:17.9.0-alpine3.15 as builder
FROM node:18.12.0-alpine3.15 as builder
WORKDIR /src

View file

@ -84,7 +84,7 @@ UeGsouhyuITLwEhScounZDqop+Dx
## Local development
> We recommend using a version manager as versions change very quickly. You will likely need to switch
between multiple Node.js versions based on the needs of different projects you're working on. [NVM on windows](https://github.com/coreybutler/nvm-windows#installation--upgrades) on Windows and [nvm](https://github.com/nvm-sh/nvm) on Linux/macOS are pretty good choices. Also recommended nodejs version is 16.15.0 LTS.
between multiple Node.js versions based on the needs of different projects you're working on. [NVM on windows](https://github.com/coreybutler/nvm-windows#installation--upgrades) on Windows and [nvm](https://github.com/nvm-sh/nvm) on Linux/macOS are pretty good choices. Also recommended nodejs version Hydrogen LTS (v18).
Execute the following commands to start a development server:
```sh