diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-02-07 16:56:35 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-02-07 16:56:35 +0100 |
commit | b267409d38d6c945b76b8c1a8575c188914fca12 (patch) | |
tree | 252b6d4bbd24e92de9c88e4dadfaee42b8267d9e /.github | |
parent | fc18116715e62f777074111a8d7a3a52601c2cef (diff) | |
download | nextcloud-server-b267409d38d6c945b76b8c1a8575c188914fca12.tar.gz nextcloud-server-b267409d38d6c945b76b8c1a8575c188914fca12.zip |
Add webpack-based js tests
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/node.yml | 17 |
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 |