Skip to content

Commit 07f10b2

Browse files
committed
edit 'process/parse/parseEnv' - added missing script arg to failing GitHub workflow job
Signed-off-by: StoneyDSP <nathanjhood@googlemail.com>
1 parent 17cb945 commit 07f10b2

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/node.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,12 @@ jobs:
4545
- name: Environment
4646
shell: bash
4747
working-directory: ${{ github.workspace }}
48-
run: cp .env.example .env
48+
run: |
49+
cp .env.example .env
50+
cp .env.example .env.local
51+
cp .env.test .env.test.local
52+
cp .env.development .env.development.local
53+
cp .env.production .env.production.local
4954
5055
- name: Install
5156
shell: bash
@@ -78,7 +83,7 @@ jobs:
7883
env:
7984
NODE_ENV: production
8085
working-directory: ${{ github.workspace }}
81-
run: yarn start
86+
run: yarn start build
8287

8388
- name: Upload Artifact
8489
uses: actions/upload-artifact@v4

src/process/parse/parseEnv.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const parseEnv: parseEnv = (
7979
//
8080
} else {
8181
const error = new Error("no '.env' file found", { cause: dotenvFile });
82-
// errors.push(error);
82+
errors.push(error);
8383
}
8484
});
8585

0 commit comments

Comments
 (0)