Skip to content

Commit

Permalink
chore: Update dictionaries with CSpell
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Aug 21, 2023
1 parent 9fc2378 commit e3041d5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/update-cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ jobs:
type: ${{ (env.CSPELL_MINOR_OLD == env.CSPELL_MINOR_NEW && 'fix') || 'feat' }}
run: |
echo PR_TYPE=$type >> $GITHUB_ENV
- name: Update Dictionaries
run: |
cd action
yarn add @cspell/cspell-bundled-dicts@latest
- name: Install Updates
run: |
yarn install
Expand Down
3 changes: 0 additions & 3 deletions action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
"**"
]
},
"scripts": {
"update-packages": "yarn upgrade && npx package-json-dependency-updater -u && yarn"
},
"dependencies": {
"@cspell/cspell-bundled-dicts": "^7.0.0"
}
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"smoke-test": "env-cmd -f ./fixtures/pull_request.json node ./action/lib/main_root.js",
"test": "yarn workspace action-src test",
"coverage": "yarn workspace action-src coverage",
"update-packages": "yarn update:action && yarn update:root",
"update:action": "yarn workspace action update-packages",
"update-packages": "yarn update:root",
"update:root": "yarn upgrade && npx package-json-dependency-updater -u && yarn"
},
"workspaces": {
Expand Down

0 comments on commit e3041d5

Please sign in to comment.