Skip to content

Commit 22ae565

Browse files
committed
Improve CI
1 parent 81c9b83 commit 22ae565

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.github/workflows/unittests.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ jobs:
1919
uses: actions/setup-node@v1
2020
with:
2121
node-version: ${{ matrix.node-version }}
22-
- run: npm ci
23-
- run: npm run build --if-present
22+
- run: make
2423
- run: npm test

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
node_modules
22
npm-debug.log
33
.DS_Store
4-
package-lock.json
54
build/
65

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ node_modules: package.json
1010
npm install
1111

1212
build: tsconfig.json node_modules
13-
npm install --only=dev
13+
NODE_ENV=build npm install
1414
npm run build
1515

1616
.PHONY: test install clean build

0 commit comments

Comments
 (0)