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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-06-17 19:33:29 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-06-17 19:42:25 +0300
commite8c666c12867ab6ddef85dffd28efd943a1068d4 (patch)
treee2064df8face97481ddc255953aa86ab5898926c /.github
parentdef2934602a42ccbfb1289f7d86379ad7ec58bc6 (diff)
Fix build
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/node.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml
new file mode 100644
index 000000000..8a148dfac
--- /dev/null
+++ b/.github/workflows/node.yml
@@ -0,0 +1,34 @@
+name: Node
+
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+ - stable*
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ name: node
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: Set up node
+ uses: actions/setup-node@v2
+ with:
+ node-version: 14
+
+ - name: Set up npm7
+ run: npm i -g npm@7
+
+ - name: Install dependencies & build
+ run: |
+ npm ci
+ npm run build --if-present
+
+ - name: Check webpack build changes
+ run: |
+ bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && git status && exit 1 )"