@woosmap/ui 4.251.0 → 4.251.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.
@@ -16,17 +16,21 @@ jobs:
16
16
  pull-requests: read
17
17
  environment: npm-publish
18
18
  steps:
19
+ - name: Generate GitHub App token
20
+ id: app-token
21
+ uses: actions/create-github-app-token@v1
22
+ with:
23
+ app-id: ${{ secrets.APP_ID }}
24
+ private-key: ${{ secrets.APP_PRIVATE_KEY }}
25
+
19
26
  - uses: actions/checkout@v4
20
27
  with:
21
- token: ${{ secrets.GITHUB_TOKEN }}
28
+ token: ${{ steps.app-token.outputs.token }}
22
29
 
23
30
  - name: Use Node.js
24
31
  uses: actions/setup-node@v4
25
32
  with:
26
- node-version: "22.x"
27
-
28
- - name: Upgrade npm for OIDC trusted publishing
29
- run: npm install -g npm@latest
33
+ node-version: "24"
30
34
 
31
35
  - name: Install dependencies
32
36
  run: yarn
@@ -45,12 +49,10 @@ jobs:
45
49
  commit_sha: context.sha,
46
50
  });
47
51
  const pr = commits.find(p => p.merged_at);
48
- let bump = 'minor';
52
+ let bump = 'patch';
49
53
  if (pr) {
50
54
  const labels = pr.labels.map(l => l.name.toLowerCase());
51
- if (labels.includes('patch')) {
52
- bump = 'patch';
53
- } else if (labels.includes('minor')) {
55
+ if (labels.includes('minor')) {
54
56
  bump = 'minor';
55
57
  }
56
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "4.251.0",
3
+ "version": "4.251.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Woosmap/ui.git"