Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SP-13328] updating various dependencies and adding github actions #52

Merged
merged 5 commits into from
Aug 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run Tests

on:
push:
branches:
- master
pull_request:
types: ['opened', 'reopened', 'synchronize']

jobs:
test:
strategy:
matrix:
nodejs: [ '20', '22' ]
runs-on: ubuntu-latest
permissions:
actions: write
contents: read
pull-requests: write
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.nodejs }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.nodejs }}
- run: yarn install --frozen-lockfile
- run: yarn test
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.11.1
20.16.0
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bravado-server",
"version": "1.3.0",
"version": "1.4.0",
"description": "Server for the Bravado REST API framework",
"directories": {
"lib": "lib"
@@ -12,8 +12,7 @@
"lint:fix": "yarn lint --fix",
"lint:watch": "yarn lint --watch",
"lint:changed": "lint-staged",
"test": "mocha test/index-spec.js --timeout 15000",
"prepare": "husky"
"test": "mocha test/index-spec.js --timeout 15000"
},
"engines": {
"node": ">=18"
@@ -41,11 +40,11 @@
"dependencies": {
"bravado-core": "^0.15.0",
"bunyan": "^1.8.15",
"commander": "^12.0.0",
"convict": "^6.2.4",
"debug": "^4.3.4",
"commander": "^12.1.0",
"convict": "^6.2.3",
"debug": "^4.3.6",
"dotenv": "^16.4.5",
"omnibelt": "^3.1.2",
"omnibelt": "^4.0.0",
"restify": "^11.1.0"
},
"devDependencies": {
@@ -55,9 +54,9 @@
"eventsource": "^2.0.2",
"fs-extra": "^11.2.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"mocha": "^10.3.0",
"nock": "^13.5.4",
"lint-staged": "^15.2.9",
"mocha": "^10.7.3",
"nock": "^13.5.5",
"should": "^13.2.3"
},
"eslintConfig": {
2,573 changes: 1,280 additions & 1,293 deletions yarn.lock

Large diffs are not rendered by default.