Skip to content

Commit

Permalink
fix: update prettier CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gabin54 committed Jul 12, 2023
1 parent a76c039 commit d4274e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Prettier
run: yarn prettier
run: yarn prettier-check
test:
name: Tests
runs-on: ubuntu-latest
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"sync-all-apps-factory": "NEXT_PUBLIC_NODE_ENV=main yarn sync-apps-factory && NEXT_PUBLIC_NODE_ENV=demo yarn sync-apps-factory",
"upload-zk-drop-metadata": "yarn run build-config && tsx -r ./svgMock.js ./src/scripts/upload-metadata/upload-metadata.script.ts",
"sync-apps-factory": "yarn run build-config && tsx -r ./svgMock.js ./src/scripts/sync-apps-factory/sync-apps-factory.script.ts",
"prettier": "prettier --write 'src/**/*.ts' '.github' 'README.md'"
"prettier": "prettier --write 'src/**/*.ts' '.github' 'README.md'",
"prettier-check": "prettier --check 'src/**/*.ts' '.github' 'README.md'"
},
"dependencies": {
"@google-cloud/local-auth": "^2.1.1",
Expand Down Expand Up @@ -63,6 +64,7 @@
"@types/styled-components": "^5.1.26",
"@types/testing-library__jest-dom": "5.14.5",
"encoding": "^0.1.13",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-date-mock": "^1.0.8",
"jest-environment-jsdom": "29.5.0",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6114,6 +6114,11 @@ humanize-ms@^1.2.1:
dependencies:
ms "^2.0.0"

husky@^8.0.3:
version "8.0.3"
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184"
integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==

[email protected], iconv-lite@^0.6.2:
version "0.6.3"
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501"
Expand Down

0 comments on commit d4274e9

Please sign in to comment.