Skip to content

Commit 4d22c8d

Browse files
authored
ci: remove prettier write from CI workflow (#2787)
* ci: remove write from ci prettier * chore: format with prettier
1 parent 648f2ea commit 4d22c8d

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

.github/workflows/lint.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,8 @@ jobs:
2323
cache: 'npm'
2424
cache-dependency-path: '**/package-lock.json'
2525
- run: npm ci
26-
- name: Prettify code
27-
uses: creyD/[email protected]
28-
with:
29-
prettier_options: --write .
30-
only_changed: true
31-
commit_message: 'chore: format with prettier'
32-
clean_node_folder: false
33-
26+
- name: Check Format
27+
run: npm run format:check
3428
- name: Lint
3529
# github adds inline annotation for compact or stylish format
3630
# which is different than our default for local usage

tests/test-config.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,7 @@
124124
{
125125
"file": "test/e2e/app-dir/app-static/app-static.test.ts",
126126
"reason": "Uses CLI output",
127-
"tests": [
128-
"app-dir static/dynamic handling should warn for too many cache tags"
129-
]
127+
"tests": ["app-dir static/dynamic handling should warn for too many cache tags"]
130128
},
131129
{
132130
"file": "test/e2e/app-dir/parallel-routes-and-interception/parallel-routes-and-interception.test.ts",

0 commit comments

Comments
 (0)