k6-cucumber-steps 1.0.23 → 1.0.25
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.
- package/.github/workflows/k6-load-test.yml +17 -14
- package/README.md +2 -0
- package/package.json +1 -1
- package/.vscode/extensions.json +0 -6
- package/.vscode/settings.json +0 -12
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
name: Node.js Package
|
|
1
|
+
name: Node.js Package Release
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
branches: ["main"]
|
|
6
|
-
pull_request:
|
|
7
|
-
branches: ["main"]
|
|
8
6
|
|
|
9
7
|
jobs:
|
|
10
|
-
|
|
8
|
+
release:
|
|
11
9
|
runs-on: ubuntu-latest
|
|
12
10
|
|
|
13
11
|
strategy:
|
|
@@ -21,15 +19,20 @@ jobs:
|
|
|
21
19
|
with:
|
|
22
20
|
node-version: ${{ matrix.node-version }}
|
|
23
21
|
cache: "npm"
|
|
24
|
-
|
|
25
|
-
run: |
|
|
26
|
-
sudo apt-get update
|
|
27
|
-
sudo apt-get install -y --no-install-recommends k6
|
|
28
|
-
- name: Verify k6 Installation
|
|
29
|
-
run: k6 version
|
|
22
|
+
registry-url: "https://registry.npmjs.org" # Add this line
|
|
30
23
|
- name: Install Dependencies
|
|
31
24
|
run: npm install
|
|
32
|
-
- name:
|
|
33
|
-
run:
|
|
34
|
-
|
|
35
|
-
|
|
25
|
+
- name: Configure Git for Commit
|
|
26
|
+
run: |
|
|
27
|
+
git config --global user.email "paschal.enyimiri@gmail.com"
|
|
28
|
+
git config --global user.name "Paschal Enyimiri"
|
|
29
|
+
- name: Add changes
|
|
30
|
+
run: git add .
|
|
31
|
+
- name: Commit changes
|
|
32
|
+
run: git commit -m "chore:Automated changes before versioning" || echo "No changes to commit"
|
|
33
|
+
- name: Set new version as patch and create commit
|
|
34
|
+
run: npm version patch
|
|
35
|
+
- name: Publish to npm
|
|
36
|
+
run: npm publish
|
|
37
|
+
env:
|
|
38
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/README.md
CHANGED
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
[](https://www.npmjs.com/package/k6-cucumber-steps)
|
|
8
8
|
[](https://www.npmjs.com/package/k6-cucumber-steps)
|
|
9
9
|
[](https://github.com/qaPaschalE/k6-cucumber-steps/blob/main/LICENSE)
|
|
10
|
+
|
|
10
11
|
[](https://cucumber.io/)
|
|
11
12
|
[](https://nodejs.org/)
|
|
12
13
|
[](https://github.com/sponsors/qaPaschalE)
|
|
14
|
+
[](https://github.com/qaPaschalE/k6-cucumber-steps/actions/workflows/k6-load-test.yml)
|
|
13
15
|
|
|
14
16
|
Run [k6](https://k6.io/) performance/load tests using [Cucumber](https://cucumber.io/) BDD syntax with ease.
|
|
15
17
|
|
package/package.json
CHANGED
package/.vscode/extensions.json
DELETED
package/.vscode/settings.json
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"cucumber.features": [
|
|
3
|
-
"src/features/*.feature",
|
|
4
|
-
"src/features/**/*.feature",
|
|
5
|
-
"src/features/**/*.k6.feature",
|
|
6
|
-
"src/features/template/*.feature"
|
|
7
|
-
],
|
|
8
|
-
"cucumber.glue": [
|
|
9
|
-
"step_definitions/*.js",
|
|
10
|
-
"src/features/stepDefinitions/*.js"
|
|
11
|
-
]
|
|
12
|
-
}
|