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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-02-07 18:56:35 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-02-07 18:56:35 +0300
commitb267409d38d6c945b76b8c1a8575c188914fca12 (patch)
tree252b6d4bbd24e92de9c88e4dadfaee42b8267d9e /.github
parentfc18116715e62f777074111a8d7a3a52601c2cef (diff)
Add webpack-based js tests
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/node.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml
index b666ed7c3f4..f99bd1bfce0 100644
--- a/.github/workflows/node.yml
+++ b/.github/workflows/node.yml
@@ -31,3 +31,20 @@ jobs:
bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && git status && exit 1 )"
env:
CI: true
+
+ test:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ node-version: [12.x]
+ steps:
+ - uses: actions/checkout@v2
+ - name: Use node ${{ matrix.node-version }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-version }}
+ - name: Install dependencies
+ run: |
+ npm ci
+ - name: Test
+ run: npm run test