Skip to content

Commit 493ef23

Browse files
committed
Add pnpm frontend lint workflow
1 parent c35d919 commit 493ef23

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/lint_frontend_package_pnpm.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ jobs:
6161
steps:
6262
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6
6363
- name: Install pnpm
64-
uses: pnpm/action-setup@b307475762933b98ed359c036b0e51f26b63b74b #v5
65-
with:
66-
version: ${{ inputs.pnpm-version }}
64+
run: |
65+
corepack enable
66+
corepack prepare pnpm@${{ inputs.pnpm-version }} --activate
6767
- name: Use Node.js ${{ matrix.node-version }}
6868
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e #v6
6969
with:
@@ -87,9 +87,9 @@ jobs:
8787
steps:
8888
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6
8989
- name: Install pnpm
90-
uses: pnpm/action-setup@b307475762933b98ed359c036b0e51f26b63b74b #v5
91-
with:
92-
version: ${{ inputs.pnpm-version }}
90+
run: |
91+
corepack enable
92+
corepack prepare pnpm@${{ inputs.pnpm-version }} --activate
9393
- name: Use Node.js ${{ matrix.node-version }}
9494
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e #v6
9595
with:
@@ -113,9 +113,9 @@ jobs:
113113
steps:
114114
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6
115115
- name: Install pnpm
116-
uses: pnpm/action-setup@b307475762933b98ed359c036b0e51f26b63b74b #v5
117-
with:
118-
version: ${{ inputs.pnpm-version }}
116+
run: |
117+
corepack enable
118+
corepack prepare pnpm@${{ inputs.pnpm-version }} --activate
119119
- name: Use Node.js ${{ matrix.node-version }}
120120
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e #v6
121121
with:
@@ -139,9 +139,9 @@ jobs:
139139
steps:
140140
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6
141141
- name: Install pnpm
142-
uses: pnpm/action-setup@b307475762933b98ed359c036b0e51f26b63b74b #v5
143-
with:
144-
version: ${{ inputs.pnpm-version }}
142+
run: |
143+
corepack enable
144+
corepack prepare pnpm@${{ inputs.pnpm-version }} --activate
145145
- name: Use Node.js ${{ matrix.node-version }}
146146
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e #v6
147147
with:

0 commit comments

Comments
 (0)