Skip to content

Commit

Permalink
Lock prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
lopopolo committed Jul 18, 2023
1 parent e9579a3 commit 93afcc2
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3.5.3

- name: Install Node.js toolchain
uses: actions/setup-node@v3.6.0
with:
node-version: 18

- name: Install toolchain
run: npm ci

- name: Lint and check formatting with prettier
run: npx prettier --check '**/*'

Expand Down
18 changes: 17 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"eta": "^2.2.0",
"highlight.js": "^11.8.0",
"marked": "^5.0.4",
"marked-highlight": "^2.0.1"
"marked-highlight": "^2.0.1",
"prettier": "^3.0.0"
},
"eslintConfig": {
"env": {
Expand All @@ -49,7 +50,7 @@
"clean": "rm -rf dist",
"dev:debug": "npx concurrently \"npm:serve\" \"npm:watch:debug\"",
"dev:release": "npx concurrently \"npm:serve\" \"npm:watch:release\"",
"fmt": "npx prettier --write \"**/*\"",
"fmt": "prettier --write \"**/*\"",
"lint": "npx eslint . --ext .js,.jsx,.mjs,.ts,.tsx",
"lint:fix": "npx eslint . --ext .js,.jsx,.mjs,.ts,.tsx --fix",
"release:markdown_link_check": "find . -name '*.md' -and -not -path '*/node_modules/*' | sort | xargs -n1 npx markdown-link-check --config .github/markdown-link-check.json",
Expand Down

0 comments on commit 93afcc2

Please sign in to comment.