ff-automationv2 2.1.0 → 2.1.1-beta.1

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/RELEASE_GUIDE.md CHANGED
@@ -1,6 +1,22 @@
1
+ # 1️⃣ Switch to your feature branch
2
+
1
3
  git checkout feature/your-feature-name
4
+
5
+ # 2️⃣ Pull latest changes
6
+
2
7
  git pull --rebase
8
+
9
+ # 3️⃣ Make your code changes
10
+
11
+ # 4️⃣ Commit your changes
12
+
3
13
  git add .
4
14
  git commit -m "feat: new changes"
15
+
16
+ # 5️⃣ Bump beta version
17
+
5
18
  npm version prerelease --preid=beta
19
+
20
+ # 6️⃣ Push commit + tag
21
+
6
22
  git push --follow-tags
@@ -1,10 +1,28 @@
1
1
  image: node:20
2
2
 
3
3
  pipelines:
4
- tags:
5
- "v*":
4
+ branches:
5
+
6
+ "feature/*":
7
+ - step:
8
+ name: Publish Beta
9
+ caches:
10
+ - node
11
+ script:
12
+ - echo "Installing dependencies"
13
+ - npm ci
14
+
15
+ - echo "Building project"
16
+ - npm run build
17
+
18
+ - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
19
+
20
+ - echo "Publishing as beta"
21
+ - npm publish --tag beta --access public
22
+
23
+ release:
6
24
  - step:
7
- name: Publish to NPM
25
+ name: Publish Production
8
26
  caches:
9
27
  - node
10
28
  script:
@@ -16,5 +34,5 @@ pipelines:
16
34
 
17
35
  - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
18
36
 
19
- - echo "Publishing to npm"
37
+ - echo "Publishing as latest"
20
38
  - npm publish --access public
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ff-automationv2",
3
- "version": "2.1.0",
3
+ "version": "2.1.1-beta.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "This lib is used to automate the manual testcase",