kopia lustrzana https://github.com/nextcloud/social
Merge pull request #1429 from nextcloud/feat/workflow-auto-update-node.yml
Updating node.yml workflow from templatepull/1433/head
commit
1fda2475b9
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue