Updated actions build script to use node 12.x

Also slightly rephrased README.md.

I forgot I've switched to 12.x on both my dev PC and production server.
This commit is contained in:
Bobby Wibowo 2020-07-30 06:03:45 +07:00
parent 855c76a792
commit ef2f682cf1
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ jobs:
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: '10.x' node-version: '12.x'
- name: Get yarn cache directory path - name: Get yarn cache directory path
id: yarn-cache-dir-path id: yarn-cache-dir-path

View File

@ -16,7 +16,7 @@ Configuration file of lolisafe, `config.js`, is also NOT fully compatible with t
## Running in production mode ## Running in production mode
1. Ensure you have at least Node v10.x installed (v12.x should also work just fine). 1. Ensure you have at least Node v10.x installed (v12.x works fine, but v14.x will likely have issues for now).
2. Clone this repo. 2. Clone this repo.
3. Copy `config.sample.js` as `config.js`. 3. Copy `config.sample.js` as `config.js`.
4. Modify port, domain and privacy options if desired. 4. Modify port, domain and privacy options if desired.