Updating node.yml workflow from template

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
pull/1429/head
Nextcloud bot 2022-06-11 16:37:40 +00:00
rodzic aa8c22bf11
commit fb90d5acac
1 zmienionych plików z 13 dodań i 0 usunięć

Wyświetl plik

@ -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