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-09-03 21:06:49 +0300
committerJulius Härtl <jus@bitgrid.net>2019-10-09 11:16:03 +0300
commit83afb697f3173faa4422bcc388c63aa6e6c00d74 (patch)
tree996d2f00ffda1dbd19e8a76bdac87b1e3486acf1 /.github/workflows
parentb930a6d769748966ab298b8ad48f59f30c0f6f04 (diff)
Update nodejs.yml
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/nodejs.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml
new file mode 100644
index 000000000..521ece8df
--- /dev/null
+++ b/.github/workflows/nodejs.yml
@@ -0,0 +1,26 @@
+name: Node CI
+
+on: [push]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-version: [10.x, 12.x]
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Use Node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-version }}
+ - name: npm install, build, and test
+ run: |
+ npm install
+ npm run build --if-present
+ npm test
+ env:
+ CI: true