Skip to content

Commit ed247b5

Browse files
jespinoona-agent
andcommitted
Pin npm dependencies using yarn --frozen-lockfile
Use yarn install --frozen-lockfile to ensure dependencies are installed from the lock file. Fixes PDE-190 Co-authored-by: Ona <no-reply@ona.com>
1 parent f98e706 commit ed247b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"features": {
99
"ghcr.io/devcontainers/features/node:1": {}
1010
},
11-
"postCreateCommand": "yarn install",
11+
"postCreateCommand": "yarn install --frozen-lockfile",
1212
"customizations": {
1313
"vscode": {
1414
"extensions": ["esbenp.prettier-vscode"]

.github/workflows/publish-npm.yml

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

2424
- name: Install dependencies
2525
run: |
26-
yarn install
26+
yarn install --frozen-lockfile
2727
2828
- name: Publish to NPM
2929
run: |

0 commit comments

Comments
 (0)