mirror of
https://github.com/prymitive/karma
synced 2026-05-13 03:56:59 +00:00
fix(ci): update snapshots when needed
This commit is contained in:
committed by
Łukasz Mierzwa
parent
a8ac266767
commit
e040d6c437
3
.github/workflows/node-maintenance.yml
vendored
3
.github/workflows/node-maintenance.yml
vendored
@@ -24,6 +24,9 @@ jobs:
|
||||
- name: Rebuild react app
|
||||
run: make -C ui build
|
||||
|
||||
- name: Update snapshots
|
||||
run: make -C ui update-snapshots
|
||||
|
||||
- name: Create Pull Request
|
||||
id: cpr
|
||||
uses: peter-evans/create-pull-request@v7.0.5
|
||||
|
||||
@@ -34,6 +34,10 @@ build: dist/index.html
|
||||
test-js: $(NODE_PATH)/vite $(NODE_PATH)/jest
|
||||
CI=true NODE_OPTIONS="--unhandled-rejections=strict" npm test -- --coverage
|
||||
|
||||
.PHONY: update-snapshots
|
||||
update-snapshots: $(NODE_PATH)/vite $(NODE_PATH)/jest
|
||||
CI=true NODE_OPTIONS="--unhandled-rejections=strict" npm test -- -u
|
||||
|
||||
.PHONY: lint-js
|
||||
lint-js: $(NODE_PATH)/eslint
|
||||
@rm -fr node_modules/.cache/eslint-loader
|
||||
|
||||
Reference in New Issue
Block a user