From 22ae565b5b1799525411273335a252839adc5d03 Mon Sep 17 00:00:00 2001 From: gpotter2 Date: Sat, 19 Jun 2021 02:40:40 +0200 Subject: [PATCH] Improve CI --- .github/workflows/unittests.yml | 3 +-- .gitignore | 1 - Makefile | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 702f3ef..d60c4e2 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -19,6 +19,5 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: npm ci - - run: npm run build --if-present + - run: make - run: npm test diff --git a/.gitignore b/.gitignore index 3dde866..8543853 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ node_modules npm-debug.log .DS_Store -package-lock.json build/ diff --git a/Makefile b/Makefile index 67b54e5..ac875b0 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ node_modules: package.json npm install build: tsconfig.json node_modules - npm install --only=dev + NODE_ENV=build npm install npm run build .PHONY: test install clean build