Skip to content

Commit e3e3a8f

Browse files
authored
chore(workflow): let prettier ignore pnpm lock file (#4931)
1 parent 0ff14e9 commit e3e3a8f

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/actions/eco-ci-result/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ outputs:
1212
value: ${{ steps.get-result.outputs.result }}
1313

1414
runs:
15-
using: "composite"
15+
using: 'composite'
1616
steps:
1717
- id: get-result
1818
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7

.github/workflows/ecosystem-ci.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ jobs:
5656
continue-on-error: true
5757
uses: convictional/trigger-workflow-and-wait@f69fa9eedd3c62a599220f4d5745230e237904be # v1.6.5
5858
with:
59-
owner: "rspack-contrib"
60-
repo: "rsbuild-ecosystem-ci"
61-
workflow_file_name: "ecosystem-ci-from-commit.yml"
59+
owner: 'rspack-contrib'
60+
repo: 'rsbuild-ecosystem-ci'
61+
workflow_file_name: 'ecosystem-ci-from-commit.yml'
6262
github_token: ${{ secrets.REPO_RSBUILD_ECO_CI_GITHUB_TOKEN }}
63-
ref: "main"
63+
ref: 'main'
6464
client_payload: '{"commitSHA":"${{ github.sha }}","updateComment":true,"repo":"web-infra-dev/rsbuild","suite":"-","suiteRefType":"precoded","suiteRef":"precoded"}'
6565

6666
- name: Checkout
@@ -165,11 +165,11 @@ jobs:
165165
uses: convictional/trigger-workflow-and-wait@f69fa9eedd3c62a599220f4d5745230e237904be # v1.6.5
166166
continue-on-error: true
167167
with:
168-
owner: "rspack-contrib"
169-
repo: "rsbuild-ecosystem-ci"
170-
workflow_file_name: "ecosystem-ci-selected.yml"
168+
owner: 'rspack-contrib'
169+
repo: 'rsbuild-ecosystem-ci'
170+
workflow_file_name: 'ecosystem-ci-selected.yml'
171171
github_token: ${{ secrets.REPO_RSBUILD_ECO_CI_GITHUB_TOKEN }}
172-
ref: "main"
172+
ref: 'main'
173173
client_payload: '{"ref":"${{ github.event.inputs.branch }}","repo":"web-infra-dev/rsbuild","suite":"-","suiteRefType":"precoded","suiteRef":"precoded"}'
174174

175175
- name: Checkout
@@ -195,4 +195,3 @@ jobs:
195195
comment_id: ${{ steps.create-comment.outputs.result }},
196196
body: ${{ steps.eco-ci-result.outputs.result }}
197197
})
198-

.github/workflows/pr-label.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: github/issue-labeler@c1b0f9f52a63158c4adc09425e858e87b32e9685 # v3.4
2121
with:
22-
repo-token: "${{ secrets.GITHUB_TOKEN }}"
22+
repo-token: '${{ secrets.GITHUB_TOKEN }}'
2323
configuration-path: .github/pr-labeler.yml
2424
enable-versioned-regex: 0
2525
include-title: 1

.prettierignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
dist
33
compiled
44
doc_build
5+
pnpm-lock.yaml
56

67
# Avoid CSS syntax error
7-
**/less-inline-js/**/*.less
8+
**/less/inline-js/**/*.less

0 commit comments

Comments
 (0)