Skip to content

Commit cebe8ab

Browse files
author
Kewin Polok
committed
Move VMS_LOCAL_FILE_PATH to constant
1 parent b6cf2ed commit cebe8ab

File tree

6 files changed

+350
-373
lines changed

6 files changed

+350
-373
lines changed

.env.test.example

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/ci.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@ jobs:
1212
node-version: [10.x, 12.x, 14.x]
1313

1414
steps:
15-
- uses: actions/checkout@v2
16-
- name: Use Node.js ${{ matrix.node-version }}
17-
uses: actions/setup-node@v1
18-
with:
19-
node-version: ${{ matrix.node-version }}
20-
- name: Install deps and build (with cache)
21-
uses: bahmutov/npm-install@v1
22-
- name: Test package
23-
run: yarn tsdx test
24-
env:
25-
VMS_LOCAL_FILE_PATH: src/testHelpers/files/vms.wav
15+
- uses: actions/checkout@v2
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- name: Install deps and build (with cache)
21+
uses: bahmutov/npm-install@v1
22+
- name: Test package
23+
run: yarn tsdx test

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ build: ## build
3737
build-watch: ## build with watch
3838
${DOCKER_RUN_NODE} yarn start
3939

40-
test-lib: ## run test
41-
${DOCKER_RUN} --env-file ./.env.test ${NODE_IMAGE} yarn test
40+
test: ## run test
41+
${DOCKER_RUN_NODE} yarn test

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"build": "tsdx build",
1414
"lint": "eslint .",
1515
"start": "tsdx watch",
16-
"test": "env-cmd -f .env.test tsdx test --runInBand"
16+
"test": "tsdx test --runInBand"
1717
},
1818
"dependencies": {
1919
"axios": "^0.19.2",
@@ -25,7 +25,6 @@
2525
"@types/uuid": "^8.3.0",
2626
"@typescript-eslint/eslint-plugin": "^3.9.0",
2727
"@typescript-eslint/parser": "^3.9.0",
28-
"env-cmd": "^10.1.0",
2928
"eslint": "^7.6.0",
3029
"eslint-config-prettier": "^6.11.0",
3130
"eslint-config-standard": "^14.1.1",

0 commit comments

Comments
 (0)