release-test-mojipcmobila 1.30.2 → 1.30.3

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.
@@ -0,0 +1,37 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ build-and-test:
11
+ name: Build, Lint, and Test
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v4
17
+
18
+ - name: Setup Node.js
19
+ uses: actions/setup-node@v4
20
+ with:
21
+ node-version: 20
22
+ cache: "npm"
23
+
24
+ - name: Install dependencies
25
+ run: npm ci
26
+
27
+ # - name: Lint code
28
+ # run: npm run lint --if-present
29
+
30
+ # - name: Run tests
31
+ # run: npm test
32
+
33
+ # - name: Build project
34
+ # run: npm run build --if-present
35
+
36
+ - name: Job summary
37
+ run: echo "✅ CI checks passed successfully!"
@@ -13,6 +13,7 @@ jobs:
13
13
  - name: Checkout source code
14
14
  uses: actions/checkout@v4
15
15
  with:
16
+ ref: main
16
17
  fetch-depth: 0
17
18
 
18
19
  - name: Setup Node
@@ -1,10 +1,7 @@
1
1
  name: release and publish
2
2
 
3
3
  on:
4
- push:
5
- branches:
6
- - main
7
-
4
+ workflow_dispatch:
8
5
  jobs:
9
6
  release:
10
7
  runs-on: ubuntu-latest
@@ -12,6 +9,7 @@ jobs:
12
9
  - name: Checkout source code
13
10
  uses: actions/checkout@v3
14
11
  with:
12
+ ref: main
15
13
  fetch-depth: 0
16
14
 
17
15
  - name: Install dependencies
@@ -30,12 +28,3 @@ jobs:
30
28
  env:
31
29
  NPM_TOKEN: ${{secrets.NPM_TOKEN}}
32
30
  GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
33
- # - name: Create PR to merge main → develop
34
- # if: success()
35
- # uses: peter-evans/create-pull-request@v6
36
- # with:
37
- # token: ${{ secrets.GITHUB_TOKEN }}
38
- # base: develop
39
- # branch: sync-main-to-develop
40
- # title: "Sync main → develop"
41
- # body: "This PR was automatically created after release to sync main into develop."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-test-mojipcmobila",
3
- "version": "1.30.2",
3
+ "version": "1.30.3",
4
4
  "scripts": {
5
5
  "semantic-release": "semantic-release",
6
6
  "release": "release-it --config release-it.config.ts",
package/script.js CHANGED
@@ -19,3 +19,4 @@ console.log("develop-fix-x")
19
19
  console.log("develop-fix-x")
20
20
  console.log("develop-fix-x")
21
21
  console.log("develop-fix-a")
22
+ console.log("develop-fix-update-script")