Skip to content

Commit c432334

Browse files
committed
fix(ci): add missing format script
1 parent 07690f2 commit c432334

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

.eslintcache

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ jobs:
215215
path: dist
216216
- name: Release
217217
env:
218-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
219218
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
220219
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
221220
run: npx semantic-release
@@ -226,6 +225,7 @@ jobs:
226225
- name: Checkout Commit
227226
uses: actions/checkout@v2
228227
with:
228+
persist-credentials: false
229229
fetch-depth: 0
230230
- name: Use Node.js
231231
uses: actions/setup-node@v1

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"storybook": "start-storybook -p 6006",
3737
"build-storybook": "build-storybook",
3838
"format": "prettier --write 'src/**/{*.js,*.ts,*.tsx,*.json,*.md,*.mdx}' example/index.tsx",
39+
"format:check": "prettier --check '**/{src,test,stories}/**/{*.js,*.ts,*.tsx,*.json,*.md,*.mdx}' example/index.tsx",
3940
"deploy-storybook": "storybook-to-ghpages",
4041
"danger:local": "danger local -b main --dangerfile dangerfile.lite.ts",
4142
"danger:pr": "danger pr https://github.com/commitd/components/pull/${PR}",

0 commit comments

Comments
 (0)