Skip to content

Commit 617f3d9

Browse files
authored
Merge pull request #3564 from baywet/bugfix/package-lock
adds missing package lock for reproductible CI
2 parents 7cc8f4c + 9a76230 commit 617f3d9

File tree

5 files changed

+2337
-5
lines changed

5 files changed

+2337
-5
lines changed

.github/workflows/convert-examples-to-json.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v2 # checkout repo content
2626

27+
- uses: actions/setup-node@v4 # setup Node.js
28+
with:
29+
node-version: '20.x'
30+
2731
- name: Install dependencies
28-
run: npm i
32+
run: npm ci
2933

3034
- name: convert YAML examples to JSON
3135
run: find examples/v3* -type f -name "*.yaml" | xargs node scripts/yaml2json/yaml2json.js

.github/workflows/respec.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ jobs:
2525
with:
2626
fetch-depth: 0
2727

28+
- uses: actions/setup-node@v4 # setup Node.js
29+
with:
30+
node-version: '20.x'
31+
2832
- name: Install dependencies
29-
run: npm i
33+
run: npm ci
3034

3135
- uses: actions/checkout@v2 # checkout gh-pages branch
3236
with:

.github/workflows/schema-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
node-version: '20.x'
2929
- name: Install dependencies from main
3030
run: |
31-
git checkout remotes/origin/main -- package.json
32-
npm i
31+
git checkout remotes/origin/main -- package.json package-lock.json
32+
npm ci
3333
- name: Run tests
3434
run: npm run test
3535

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
target
66
atlassian-ide-plugin.xml
77
node_modules/
8-
package-lock.json
98
deploy/
109
history
1110
Gemfile.lock

0 commit comments

Comments
 (0)