Skip to content

Commit acc971f

Browse files
committed
🐛 fix for workflow actions
1 parent 6ff6e1a commit acc971f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/actions.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
name: Setup Node.js
1919
with:
2020
node-version: '16.6.0'
21+
- run: |
22+
cp lib/config/config.json.sample lib/config/config.json
23+
name: Setting up configuration
2124
- run: |
2225
npm ci
2326
name: Installing Dependencies

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ npm run format
5151

5252
### 🚀 Run proxy
5353

54-
🔧 Before, executing proxy create the `config.json`, run the following command:
54+
🔧 Before, executing proxy create the `config.json` by running the following command:
5555
```bash
56-
cp config.json config.json.sample
56+
cp lib/config/config.json.sample lib/config/config.json
5757
```
5858

5959
Additionally, you can configuration your proxy based on your needs. Refer here - [config.json.sample](lib/config/config.json.sample)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"start": "NODE_ENV=dev node cluster.js | ./node_modules/.bin/rotate-logs",
8-
"test": "NODE_ENV=test ./node_modules/.bin/nyc ./node_modules/.bin/mocha 'test/**/*.js'",
8+
"test": "NODE_ENV=test ./node_modules/.bin/nyc ./node_modules/.bin/mocha 'test/**/*.js' --exit",
99
"format": "./node_modules/.bin/prettier --write .",
1010
"eslint": "./node_modules/.bin/eslint *.js",
1111
"eslint:test": "./node_modules/.bin/eslint test/**/*.js",

0 commit comments

Comments
 (0)