Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-12-22 23:25:21 +0300
committerJulius Härtl <jus@bitgrid.net>2019-12-22 23:35:19 +0300
commit67567a8e25cc2964abfc8a7fe92f1b6623529318 (patch)
tree8b92ec874c567ff60f22df18fce0a2c11e5e9be8 /.github/workflows
parentf3774a99dcd9c1785fc3c8e82a5b043c0a518085 (diff)
Try checking webpack build in github actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/nodejs.yml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml
index 521ece8df..cda388715 100644
--- a/.github/workflows/nodejs.yml
+++ b/.github/workflows/nodejs.yml
@@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
- node-version: [10.x, 12.x]
+ node-version: [12.x]
steps:
- uses: actions/checkout@v1
@@ -17,10 +17,15 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- - name: npm install, build, and test
+ - name: npm install, build
run: |
- npm install
+ npm ci
npm run build --if-present
+ - name: npm test
+ run: |
npm test
+ - name: check webpack build
+ run: |
+ bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && git status && exit 1 )"
env:
CI: true