Skip to content

Commit

Permalink
chore!: set node 20 requirement and use conventional commits (#39)
Browse files Browse the repository at this point in the history
* Update dependencies

* Update codacy link

* Update FakeAgent class

* Update fake request code

* Fix spell problems

* Revert changing imports

* Fix lint

* Add launch for tests

* Improve coverage

* Migrate circle CI image

* Move to use jest/globals and fix types

* Fix circle ci image

* Use npm run all to simplify scripts

* Add conventional commits

* Revert adding release script

* Add action to create release PRs

* Fix jest runner

* Add node 20 requirement

---------

Co-authored-by: = <=>
  • Loading branch information
roddolf authored Oct 31, 2023
1 parent 0325da9 commit 7cdd3a4
Show file tree
Hide file tree
Showing 5 changed files with 358 additions and 69 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: jasmine-ajax-node
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
"Codacy",
"codecov",
"npmjs"
]
],
"jest.shell": "pwsh",
"jest.autoRun": "off",
"jest.jestCommandLine": "npm run test ---",
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/556b9bdd43744685a85f92e628839345)](https://app.codacy.com/gh/roddolf/jasmine-ajax-node/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![codecov](https://codecov.io/gh/roddolf/jasmine-ajax-node/branch/master/graph/badge.svg)](https://codecov.io/gh/roddolf/jasmine-ajax-node)
[![CircleCI](https://circleci.com/gh/roddolf/jasmine-ajax-node/tree/master.svg?style=svg)](https://circleci.com/gh/roddolf/jasmine-ajax-node/tree/master)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)

Requests mocking for Node.js using the same API as [jasmine-ajax](https://github.com/jasmine/jasmine-ajax),
making able to run tests using `jasmine.Ajax` in Node.js.
Loading

0 comments on commit 7cdd3a4

Please sign in to comment.