Skip to content

Commit 290893d

Browse files
Merge pull request #263 from DonOmalVindula/npm-nov-demote
chore: use --frozen-lockfile option for pnpm install in workflows
2 parents e9c76b5 + 9159c78 commit 290893d

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/npm-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555

5656
- name: 🧩 Install Dependencies
5757
id: install-dependencies
58-
run: pnpm install
58+
run: pnpm install --frozen-lockfile
5959

6060
- name: 🧩 Run Security Audit
6161
id: run-security-audit

.github/workflows/pr-builder.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
pull_request:
77
branches: [main]
88
paths-ignore:
9-
- "**.md"
10-
- "LICENSE"
9+
- '**.md'
10+
- 'LICENSE'
1111
workflow_dispatch:
1212

1313
env:
@@ -39,7 +39,7 @@ jobs:
3939
id: set-shas
4040
uses: nrwl/nx-set-shas@v3
4141
with:
42-
main-branch-name: "main"
42+
main-branch-name: 'main'
4343

4444
- name: 🥡 Setup pnpm
4545
id: setup-pnpm
@@ -64,7 +64,7 @@ jobs:
6464
6565
- name: 🧩 Install Dependencies
6666
id: install-dependencies
67-
run: pnpm install
67+
run: pnpm install --frozen-lockfile
6868

6969
- name: 🦄 Lint All Files
7070
id: lint-with-eslint
@@ -95,7 +95,7 @@ jobs:
9595
id: set-shas
9696
uses: nrwl/nx-set-shas@v3
9797
with:
98-
main-branch-name: "main"
98+
main-branch-name: 'main'
9999

100100
- name: 🥡 Setup pnpm
101101
uses: pnpm/[email protected]
@@ -119,7 +119,7 @@ jobs:
119119
120120
- name: 🧩 Install Dependencies
121121
id: install-dependencies
122-
run: pnpm install
122+
run: pnpm install --frozen-lockfile
123123

124124
- name: 🏗️ Build
125125
id: build
@@ -172,7 +172,7 @@ jobs:
172172
173173
- name: 🧩 Install Dependencies
174174
id: install-dependencies
175-
run: pnpm install
175+
run: pnpm install --frozen-lockfile
176176

177177
- name: 🏗️ Build
178178
id: build
@@ -223,7 +223,7 @@ jobs:
223223
224224
- name: 🧩 Install Dependencies
225225
id: install-dependencies
226-
run: pnpm install
226+
run: pnpm install --frozen-lockfile
227227

228228
- name: 🏗️ Build
229229
id: build

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
5252
- name: 🧩 Install Dependencies
5353
id: install-dependencies
54-
run: pnpm install
54+
run: pnpm install --frozen-lockfile
5555

5656
- name: 🏗️ Build
5757
id: build
@@ -64,6 +64,6 @@ jobs:
6464
title: '[Release] [GitHub Action] Update package versions'
6565
publish: pnpm publish:packages
6666
version: pnpm version:packages
67-
commit: "[WSO2 Release] [GitHub Action] [Release] [skip ci] update package versions"
67+
commit: '[WSO2 Release] [GitHub Action] [Release] [skip ci] update package versions'
6868
env:
6969
GITHUB_TOKEN: ${{ env.GH_TOKEN }}

0 commit comments

Comments
 (0)