diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-06-20 14:33:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-20 14:33:34 +0200 |
commit | 1fda2475b9bb229faaa6e3649de174f2c01a5793 (patch) | |
tree | 4e2d8eb4e7d1dd591a01d7dd667925737e55a9ac | |
parent | 7698e52613390889b791950a8e01561c04cffcdb (diff) | |
parent | fb90d5acac33bb5a04940798d401b3ec2f0c2ca7 (diff) |
Merge pull request #1429 from nextcloud/feat/workflow-auto-update-node.yml
Updating node.yml workflow from template
-rw-r--r-- | .github/workflows/node.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 9ebed785..9150d1f1 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -13,6 +13,9 @@ on: - master - stable* +permissions: + contents: read + jobs: build: runs-on: ubuntu-latest @@ -41,3 +44,13 @@ jobs: run: | npm ci npm run build --if-present + + - name: Check webpack build changes + run: | + bash -c "[[ ! \"`git status --porcelain `\" ]] || exit 1" + + - name: Show changes on failure + if: failure() + run: | + git status + git --no-pager diff |