k6-cucumber-steps 1.0.23 → 1.0.24

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,13 +1,11 @@
1
- name: Node.js Package Workflow
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
- build:
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
- - name: Install k6
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: List Dependencies
33
- run: npm list --all
34
- - name: Run Load Tests
35
- run: npm loadTest
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "k6-cucumber-steps",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,6 +0,0 @@
1
- {
2
- "recommendations": [
3
- "cucumberopen.cucumber-official",
4
- "alexkrechik.cucumberautocomplete"
5
- ]
6
- }
@@ -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
- }