Skip to content

Commit d832abc

Browse files
authored
fix: package json and CI fixes (#1848)
Co-authored-by: Tushar Anand <tusharannand@gmail.com>
1 parent 30968de commit d832abc

File tree

7 files changed

+277
-6484
lines changed

7 files changed

+277
-6484
lines changed

.changeset/chatty-pens-carry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@asyncapi/cli': patch
3+
---
4+
5+
Fixes the dependencies and package-lock.json

.github/workflows/if-nodejs-pr-testing.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
pull_request:
99
types: [opened, reopened, synchronize, ready_for_review]
1010

11+
env:
12+
CI: true
13+
1114
jobs:
1215
test-nodejs-pr:
1316
name: Test NodeJS PR - ${{ matrix.os }}
@@ -67,7 +70,7 @@ jobs:
6770
- if: steps.packagejson.outputs.exists == 'true'
6871
name: Install dependencies
6972
shell: bash
70-
run: npm ci --ignore-scripts
73+
run: npm ci
7174
- if: steps.packagejson.outputs.exists == 'true'
7275
name: Test
7376
run: npm test --if-present

.github/workflows/release-with-changesets.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
- alpha
1414
- next
1515

16+
env:
17+
CI: true
18+
1619
jobs:
1720
test-nodejs:
1821
# We just check the message of the first commit as there is always just one commit because we squash into one before merging
@@ -61,7 +64,7 @@ jobs:
6164
- if: steps.packagejson.outputs.exists == 'true'
6265
name: Install dependencies
6366
shell: bash
64-
run: npm ci --ignore-scripts
67+
run: npm ci
6568
- if: steps.packagejson.outputs.exists == 'true'
6669
name: Run test
6770
run: npm test --if-present
@@ -102,7 +105,7 @@ jobs:
102105
- if: steps.packagejson.outputs.exists == 'true'
103106
name: Install dependencies
104107
shell: bash
105-
run: npm ci --ignore-scripts
108+
run: npm ci
106109
- if: steps.packagejson.outputs.exists == 'true'
107110
name: Install changelog
108111
shell: bash

.github/workflows/update-docs-on-docs-commits.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
branches:
1313
- master
1414

15+
env:
16+
CI: true
17+
1518
jobs:
1619
docs-gen:
1720
name: 'Generate docs and create PR'
@@ -32,7 +35,7 @@ jobs:
3235
cache: 'npm'
3336
cache-dependency-path: '**/package-lock.json'
3437
- name: Install dependencies
35-
run: npm ci --ignore-scripts
38+
run: npm ci
3639
- name: Regenerate docs
3740
run: npm run generate:assets --if-present
3841
- name: Create Pull Request with updated docs

.github/workflows/upload-release-assets.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
types:
66
- published
77

8+
env:
9+
CI: true
10+
811
jobs:
912
upload-assets:
1013
name: Generate and upload assets
@@ -90,7 +93,7 @@ jobs:
9093
shell: bash
9194
run: npm install -g npm@latest
9295
- name: Install dependencies
93-
run: npm ci --ignore-scripts
96+
run: npm ci
9497
- name: Build project
9598
shell: bash
9699
run: npm run prepublishOnly

0 commit comments

Comments
 (0)