mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-23 01:03:57 +08:00
Update workflow.yml
This commit is contained in:
parent
ce9276c90e
commit
5ba1e85d42
1 changed files with 9 additions and 0 deletions
9
.github/workflows/workflow.yml
vendored
9
.github/workflows/workflow.yml
vendored
|
@ -45,6 +45,15 @@ jobs:
|
|||
run: npm run lint
|
||||
- name: Build & Test
|
||||
run: npm run test
|
||||
- name: Ensure dist/ folder is up-to-date
|
||||
run: |
|
||||
npm run build
|
||||
if [ "$(git status --porcelain | wc -l)" -gt "0" ]; then
|
||||
echo "Detected uncommitted changes after build"
|
||||
git status
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
# End to end save and restore
|
||||
test-save:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue