Skip to content

Commit 9c79450

Browse files
authored
Update nodejs.yml
1 parent 6162ecd commit 9c79450

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/nodejs.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,14 @@ jobs:
140140
node-version: "lts/*"
141141
cache: "yarn"
142142

143-
- run: yarn --frozen-lockfile
144-
145-
- name: Validate PR commits with commitlint
146-
if: github.event_name == 'pull_request'
147-
run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
143+
- run:
144+
"yarn -- [![webpack-cli](https://github.com/webpack/webpack-cli/actions/workflows/nodejs.yml/badge.svg?branch=main)](https://github.com/webpack/webpack-cli/actions/workflows/nodejs.yml)"
145+
146+
- name:
147+
"Validate PR commits with commitlint"
148+
if:
149+
'github.event_name == "pull_request"
150+
run:
151+
"npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
148152
env:
149-
NODE_PATH: ${{ github.workspace }}/node_modules
153+
NODE_PATH: "${{ github.workspace }}/node_modules","[![webpack-cli](https://github.com/webpack/webpack-cli/actions/workflows/nodejs.yml/badge.svg?branch=main)](https://github.com/webpack/webpack-cli/actions/workflows/nodejs.yml)"

0 commit comments

Comments
 (0)