You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
65
55
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
66
56
67
57
- name: Install dependencies & build
68
-
env:
69
-
CYPRESS_INSTALL_BINARY: 0
70
-
PUPPETEER_SKIP_DOWNLOAD: true
71
58
run: |
72
59
npm ci
73
60
npm run build --if-present
61
+
npm run stats --if-present
74
62
75
-
- name: Check webpack build changes
76
-
run: |
77
-
bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please recompile and commit the assets, see the section \"Show changes on failure\" for details' && exit 1)"
78
-
79
-
- name: Show changes on failure
80
-
if: failure()
81
-
run: |
82
-
git status
83
-
git --no-pager diff
84
-
exit 1 # make it red to grab attention
85
-
86
-
summary:
87
-
permissions:
88
-
contents: none
89
-
runs-on: ubuntu-latest
90
-
needs: [changes, build]
91
-
92
-
if: always()
93
-
94
-
# This is the summary, we just avoid to rename it so that branch protection rules still match
95
-
name: node
96
-
97
-
steps:
98
-
- name: Summary status
99
-
run: if ${{ needs.changes.outputs.src != 'false' && needs.build.result != 'success' }}; then exit 1; fi
0 commit comments