Skip to content

Commit aab4479

Browse files
authored
ci: update snapshots when dictionaries have changed (#800)
1 parent efd18e6 commit aab4479

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/update-dependencies.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
- name: Update packages
3939
run: |
4040
npm run update-packages
41+
- name: Update Integration Test Snapshots
42+
run: |
43+
npm run update-snapshots
4144
- name: Has changes
4245
run: |
4346
git --no-pager diff --compact-summary --exit-code && echo "git_status=clean" >> $GITHUB_ENV || echo "git_status=dirty" >> $GITHUB_ENV

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"test": "lerna run test && ajv -s ./cspell.schema.json -d cspell.json",
3434
"test-integrations": "cd ./integration-tests && npm run integration-tests",
3535
"update-packages": "lerna exec \"npm update -S && rimraf node_modules package-lock.json && npm i\" && lerna bootstrap --no-ci",
36-
"update-snapshot": "lerna run update-snapshot"
36+
"update-snapshots": "lerna run update-snapshots --scope cspell-integration-tests"
3737
},
3838
"repository": {
3939
"type": "git",

0 commit comments

Comments
 (0)