Skip to content

Commit

Permalink
Merge pull request #3564 from baywet/bugfix/package-lock
Browse files Browse the repository at this point in the history
adds missing package lock for reproductible CI
  • Loading branch information
handrews authored Feb 13, 2024
2 parents 7cc8f4c + 9a76230 commit 617f3d9
Show file tree
Hide file tree
Showing 5 changed files with 2,337 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/convert-examples-to-json.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ jobs:
steps:
- uses: actions/checkout@v2 # checkout repo content

- uses: actions/setup-node@v4 # setup Node.js
with:
node-version: '20.x'

- name: Install dependencies
run: npm i
run: npm ci

- name: convert YAML examples to JSON
run: find examples/v3* -type f -name "*.yaml" | xargs node scripts/yaml2json/yaml2json.js
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/respec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-node@v4 # setup Node.js
with:
node-version: '20.x'

- name: Install dependencies
run: npm i
run: npm ci

- uses: actions/checkout@v2 # checkout gh-pages branch
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/schema-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
node-version: '20.x'
- name: Install dependencies from main
run: |
git checkout remotes/origin/main -- package.json
npm i
git checkout remotes/origin/main -- package.json package-lock.json
npm ci
- name: Run tests
run: npm run test

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
target
atlassian-ide-plugin.xml
node_modules/
package-lock.json
deploy/
history
Gemfile.lock
Loading

0 comments on commit 617f3d9

Please sign in to comment.