Skip to content

Commit 9a6a299

Browse files
committed
Disable lockfile behavior on install step
1 parent cc18125 commit 9a6a299

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/automatic-api-update.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
uses: bahmutov/npm-install@v1
4141
if: steps.buf-update.outputs.updated == 'true'
4242
with:
43+
useLockFile: false
4344
working-directory: ./
4445
- name: "Install buf"
4546
uses: "bufbuild/buf-setup-action@v1.39.0"

.github/workflows/manual-api-update.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
uses: bahmutov/npm-install@v1
4545
if: steps.buf-update.outputs.updated == 'true'
4646
with:
47+
useLockFile: false
4748
working-directory: ./
4849
- name: "Install buf"
4950
uses: "bufbuild/buf-setup-action@v1.39.0"

.github/workflows/publish.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
cache: "yarn"
1919
node-version: 18
2020
- uses: bahmutov/npm-install@v1
21+
with:
22+
useLockFile: false
2123
# Set the version in package.json to match the tag
2224
- name: Write release version
2325
run: |
@@ -45,10 +47,13 @@ jobs:
4547
cache: "yarn"
4648
# Install deps in base package and build into js-dist
4749
- uses: bahmutov/npm-install@v1
50+
with:
51+
useLockFile: false
4852
- name: Run build
4953
run: yarn build-js-client
5054
- uses: bahmutov/npm-install@v1
5155
with:
56+
useLockFile: false
5257
working-directory: ./js-dist
5358
# Set the version in package.json to match the tag
5459
- name: Write release version

.github/workflows/test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
cache-dependency-path: ./package.json
4242
cache: "yarn"
4343
- uses: bahmutov/npm-install@v1
44+
with:
45+
useLockFile: false
4446
- name: Run lint
4547
run: CI=true yarn lint
4648
- name: Run Yarn tests
@@ -65,11 +67,14 @@ jobs:
6567
cache-dependency-path: ./package.json
6668
cache: "yarn"
6769
- uses: bahmutov/npm-install@v1
70+
with:
71+
useLockFile: false
6872
- name: Run build
6973
run: yarn build-js-client
7074
working-directory: ./
7175
- uses: bahmutov/npm-install@v1
7276
with:
77+
useLockFile: false
7378
working-directory: ./js-dist
7479
- name: Run tests
7580
run: CI=true yarn only-run-tests

0 commit comments

Comments
 (0)