@vixoniccom/aniversarios 1.4.4 → 1.4.6-dev.0

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,131 @@
1
+ name: Deploy job
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - master
7
+ types: [closed]
8
+ workflow_dispatch:
9
+
10
+ jobs:
11
+ build:
12
+ name: Build and Publish Package
13
+ runs-on: ubuntu-latest
14
+ environment: production
15
+ if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
16
+
17
+ outputs:
18
+ version: ${{ steps.extract_version.outputs.version }}
19
+ deployment-start: ${{ steps.deployment_start.outputs.deployment_start }}
20
+
21
+ steps:
22
+ - name: Log deployment start
23
+ id: deployment_start
24
+ run: |
25
+ echo "deployment_start=$(date +"%Y-%m-%dT%H:%M:%S%:z")" >> "$GITHUB_OUTPUT"
26
+
27
+ - name: Checkout repository
28
+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
29
+ with:
30
+ fetch-depth: 0
31
+ token: ${{ secrets.PRIVATE_TOKEN_GITHUB }}
32
+
33
+ - name: Setup Node.js 20
34
+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
35
+ with:
36
+ node-version: '20'
37
+ registry-url: 'https://registry.npmjs.org'
38
+ scope: '@vixoniccom'
39
+
40
+ - name: Configure npm authentication
41
+ run: |
42
+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
43
+ echo "@vixoniccom:registry=https://registry.npmjs.org/" >> ~/.npmrc
44
+ echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
45
+
46
+ - name: Cache node modules
47
+ uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
48
+ with:
49
+ path: ~/.npm
50
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
51
+ restore-keys: |
52
+ ${{ runner.os }}-node-
53
+
54
+ - name: Install dependencies
55
+ run: npm ci
56
+ env:
57
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
58
+
59
+ - name: Bump version
60
+ run: |
61
+ git config user.name "github-actions[bot]"
62
+ git config user.email "github-actions[bot]@users.noreply.github.com"
63
+ npm run release -- --no-verify
64
+ git push --follow-tags origin main
65
+ env:
66
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
67
+
68
+ - name: Extract changelog for this release
69
+ id: changelog
70
+ run: |
71
+ BODY=$(awk '/^## \[/{if(p) exit; p=1} p' CHANGELOG.md)
72
+ echo "body<<EOF" >> $GITHUB_OUTPUT
73
+ echo "$BODY" >> $GITHUB_OUTPUT
74
+ echo "EOF" >> $GITHUB_OUTPUT
75
+
76
+ - name: Extract version from package.json
77
+ id: extract_version
78
+ run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
79
+
80
+ - name: Build package
81
+ run: npm run prepublish
82
+ env:
83
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
84
+
85
+ - name: Verify build.zip exists
86
+ run: |
87
+ if [ ! -f "build.zip" ]; then
88
+ echo "❌ Error: build.zip not found after build process"
89
+ exit 1
90
+ fi
91
+ echo "✅ build.zip found successfully"
92
+ ls -la build.zip
93
+
94
+ - name: Publish to npm
95
+ run: npm publish --access public
96
+ env:
97
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
98
+
99
+ - name: Create GitHub Release
100
+ uses: softprops/action-gh-release@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 # v2
101
+ with:
102
+ tag_name: v${{ steps.extract_version.outputs.version }}
103
+ name: v${{ steps.extract_version.outputs.version }}
104
+ body: ${{ steps.changelog.outputs.body }}
105
+ files: build.zip
106
+ env:
107
+ GITHUB_TOKEN: ${{ secrets.PRIVATE_TOKEN_GITHUB }}
108
+
109
+ report-ep:
110
+ name: Report EP Metrics
111
+ runs-on: ubuntu-latest
112
+ needs: [build]
113
+ if: always()
114
+
115
+ steps:
116
+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
117
+ with:
118
+ fetch-depth: 0
119
+ token: ${{ secrets.PRIVATE_TOKEN_GITHUB }}
120
+
121
+ - uses: vismagroup/Jira-SDOP-Reporter@v1
122
+ with:
123
+ token: ${{ github.token }}
124
+ deployment-start: ${{ needs.build.outputs.deployment-start }}
125
+ deployment-status: ${{ needs.build.result == 'success' && 'success' || 'failure' }}
126
+ jira-token: ${{ secrets.JIRA_TOKEN }}
127
+ jira-issue-summary: "store-gallery-image release v${{ needs.build.outputs.version }}"
128
+ jira-issue-project: "SDOP"
129
+ jira-issue-components: |
130
+ ${{ secrets.EP_JIRA_COMPONENT }}
131
+ jira-issue-build-info: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
@@ -11,19 +11,19 @@ jobs:
11
11
  sonarqube:
12
12
  runs-on: ubuntu-latest
13
13
  steps:
14
- - uses: actions/checkout@v4
14
+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
15
15
  with:
16
16
  # Disabling shallow clone is recommended for improving relevancy of reporting.
17
17
  fetch-depth: 0
18
18
 
19
19
  - name: SonarQube Scan
20
- uses: sonarsource/sonarqube-scan-action@master
20
+ uses: sonarsource/sonarqube-scan-action@299e4b793aaa83bf2aba7c9c14bedbb485688ec4 # v7.1.0
21
21
  env:
22
22
  SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
23
23
  SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
24
24
 
25
25
  - name: SonarQube Quality Gate Check
26
- uses: sonarsource/sonarqube-quality-gate-action@master
26
+ uses: sonarsource/sonarqube-quality-gate-action@cf038b0e0cdecfa9e56c198bbb7d21d751d62c3b # v1.2.0
27
27
  timeout-minutes: 5
28
28
  env:
29
29
  SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -2,7 +2,18 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ### [1.4.4](https://github.com/Vixonic/store-aniversarios/compare/v1.4.4-dev.0...v1.4.4) (2026-04-22)
5
+ ### [1.4.6-dev.0](https://github.com/Vixonic/store-aniversarios/compare/v1.4.5...v1.4.6-dev.0) (2026-04-23)
6
+
7
+ ### [1.4.5](https://github.com/Vixonic/store-aniversarios/compare/v1.4.4...v1.4.5) (2026-04-23)
8
+
9
+ ### [1.4.4](https://github.com/Vixonic/store-aniversarios/compare/v1.4.4-dev.1...v1.4.4) (2026-04-23)
10
+
11
+ ### [1.4.4-dev.1](https://github.com/Vixonic/store-aniversarios/compare/v1.4.1...v1.4.4-dev.1) (2026-04-23)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * **animation:** change default reverse value to false ([b2cd175](https://github.com/Vixonic/store-aniversarios/commit/b2cd175f1146adab60f199d515b5fcb3c51148f7))
6
17
 
7
18
  ### [1.4.4-dev.0](https://github.com/Vixonic/store-aniversarios/compare/v1.4.3...v1.4.4-dev.0) (2026-04-22)
8
19