mirror of
https://github.com/frappe/books.git
synced 2026-08-24 02:24:17 -05:00
feat: upgrade nodejs to v20.18.1
This commit is contained in:
@@ -13,7 +13,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18.19.0'
|
||||
node-version: '20.18.1'
|
||||
|
||||
- name: Set yarn version
|
||||
run: yarn set version 1.22.18
|
||||
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18.19.0'
|
||||
node-version: '20.18.1'
|
||||
|
||||
- name: Set yarn version
|
||||
run: yarn set version 1.22.18
|
||||
|
||||
@@ -9,7 +9,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18.19.0'
|
||||
node-version: '20.18.1'
|
||||
|
||||
- name: Checkout Books
|
||||
uses: actions/checkout@v4
|
||||
@@ -59,7 +59,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18.19.0'
|
||||
node-version: '20.18.1'
|
||||
|
||||
- name: Checkout Books
|
||||
uses: actions/checkout@v4
|
||||
@@ -109,7 +109,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18.19.0'
|
||||
node-version: '20.18.1'
|
||||
|
||||
- name: Checkout Books
|
||||
uses: actions/checkout@v4
|
||||
@@ -157,7 +157,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18.19.0'
|
||||
node-version: '20.18.1'
|
||||
|
||||
- name: Checkout Books
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18.19.0'
|
||||
node-version: '20.18.1'
|
||||
|
||||
- name: Set yarn version
|
||||
run: yarn set version 1.22.18
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18.19.0'
|
||||
node-version: '20.18.1'
|
||||
|
||||
- name: Set yarn version
|
||||
run: yarn set version 1.22.18
|
||||
|
||||
@@ -73,8 +73,7 @@ a local SQLite file as the database.
|
||||
|
||||
### Pre-requisites
|
||||
|
||||
To get the dev environment up and running you need to first set up Node.js version
|
||||
16.14.0 and npm. For this, we suggest using
|
||||
To get the dev environment up and running you need to first set up Node.js `v20.18.1` and npm. For this, we suggest using
|
||||
[nvm](https://github.com/nvm-sh/nvm#installing-and-updating).
|
||||
|
||||
Next, you will need to install [yarn](https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable).
|
||||
|
||||
@@ -18,7 +18,7 @@ export function getMainProcessCommonConfig(root) {
|
||||
sourcemap: true,
|
||||
sourcesContent: false,
|
||||
platform: 'node',
|
||||
target: 'node16',
|
||||
target: 'node20',
|
||||
external: ['knex', 'electron', 'better-sqlite3', 'electron-store'],
|
||||
plugins: [excludeVendorFromSourceMap],
|
||||
write: true,
|
||||
|
||||
Reference in New Issue
Block a user