k6-cucumber-steps 1.0.24 → 1.0.26

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,4 +1,4 @@
1
- name: Node.js Package Release
1
+ name: build
2
2
 
3
3
  on:
4
4
  push:
@@ -7,7 +7,8 @@ on:
7
7
  jobs:
8
8
  release:
9
9
  runs-on: ubuntu-latest
10
-
10
+ permissions:
11
+ contents: write
11
12
  strategy:
12
13
  matrix:
13
14
  node-version: [lts/*]
@@ -19,7 +20,7 @@ jobs:
19
20
  with:
20
21
  node-version: ${{ matrix.node-version }}
21
22
  cache: "npm"
22
- registry-url: "https://registry.npmjs.org" # Add this line
23
+ registry-url: "https://registry.npmjs.org"
23
24
  - name: Install Dependencies
24
25
  run: npm install
25
26
  - name: Configure Git for Commit
@@ -32,6 +33,10 @@ jobs:
32
33
  run: git commit -m "chore:Automated changes before versioning" || echo "No changes to commit"
33
34
  - name: Set new version as patch and create commit
34
35
  run: npm version patch
36
+ - name: Check new version
37
+ run: echo "New version is $(npm pkg get version)"
38
+ - name: Push changes
39
+ run: git push --follow-tags
35
40
  - name: Publish to npm
36
41
  run: npm publish
37
42
  env:
package/README.md CHANGED
@@ -7,9 +7,11 @@
7
7
  [![npm version](https://img.shields.io/npm/v/k6-cucumber-steps.svg)](https://www.npmjs.com/package/k6-cucumber-steps)
8
8
  [![npm downloads](https://img.shields.io/npm/dt/k6-cucumber-steps.svg)](https://www.npmjs.com/package/k6-cucumber-steps)
9
9
  [![license](https://img.shields.io/npm/l/k6-cucumber-steps)](https://github.com/qaPaschalE/k6-cucumber-steps/blob/main/LICENSE)
10
+
10
11
  [![Cucumber](https://img.shields.io/badge/built%20with-Cucumber-3178c6.svg)](https://cucumber.io/)
11
12
  [![Node.js](https://img.shields.io/badge/node-%3E=18-green.svg)](https://nodejs.org/)
12
13
  [![Sponsor](https://img.shields.io/github/sponsors/qaPaschalE?style=social)](https://github.com/sponsors/qaPaschalE)
14
+ [![Build Status](https://github.com/qaPaschalE/k6-cucumber-steps/actions/workflows/k6-load-test.yml/badge.svg)](https://github.com/aPaschalE/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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "k6-cucumber-steps",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "repository": {