Skip to content

Commit 80aaa70

Browse files
authored
Merge pull request #531 from nextcloud/fix/node
Update node checks
2 parents e2e3778 + 001bfb4 commit 80aaa70

File tree

3 files changed

+12216
-2410
lines changed

3 files changed

+12216
-2410
lines changed

.github/workflows/node.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Node
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
- stable*
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
name: node
15+
steps:
16+
- uses: actions/checkout@v2
17+
18+
- name: Set up node
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: 14
22+
23+
- name: Set up npm7
24+
run: npm i -g npm@7
25+
26+
- name: Install dependencies & build
27+
run: |
28+
npm ci
29+
npm run build --if-present
30+
31+
- name: Check webpack build changes
32+
run: |
33+
bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && git status && exit 1 )"

.github/workflows/nodejs.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)