kempo-testing-framework 1.3.3 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
|
|
1
2
|
name: Publish Package to npmjs
|
|
2
3
|
|
|
3
4
|
on:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
workflow_dispatch:
|
|
7
9
|
|
|
8
10
|
jobs:
|
|
9
11
|
publish:
|
|
@@ -22,6 +24,16 @@ jobs:
|
|
|
22
24
|
|
|
23
25
|
- run: npm ci
|
|
24
26
|
|
|
27
|
+
# Auto-increment patch version, commit, and push
|
|
28
|
+
- name: Bump patch version
|
|
29
|
+
run: |
|
|
30
|
+
git config --global user.name "github-actions"
|
|
31
|
+
git config --global user.email "github-actions@github.com"
|
|
32
|
+
npm version patch --no-git-tag-version
|
|
33
|
+
git add package.json package-lock.json || true
|
|
34
|
+
git commit -m "ci: bump patch version [skip ci]" || echo "No changes to commit"
|
|
35
|
+
git push origin HEAD:main || echo "No changes to push"
|
|
36
|
+
|
|
25
37
|
# If your package is public and scoped (e.g., @scope/name), keep --access public.
|
|
26
38
|
# For unscoped public packages, you can omit --access.
|
|
27
39
|
- run: npm publish --provenance --access public
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kempo-testing-framework",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "The Kempo Testing Framework is a simple testing framework built on the principle that code intended to be ran in the browser should be tested in the browser, code intended to be ran in Node should be tested in Node, and code intended to be ran in both should be tested in both. No mocking, no complexity—just testing.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -17,10 +17,9 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"kempo-css": "^1.0.2",
|
|
19
19
|
"puppeteer": "^24.9.0"
|
|
20
|
+
},
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "https://github.com/dustinpoissant/kempo-testing-framework"
|
|
20
24
|
}
|
|
21
|
-
,
|
|
22
|
-
"repository": {
|
|
23
|
-
"type": "git",
|
|
24
|
-
"url": "https://github.com/dustinpoissant/kempo-testing-framework"
|
|
25
|
-
}
|
|
26
25
|
}
|