@shakerquiz/url 0.0.53 → 0.0.55

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.
@@ -2,8 +2,7 @@ name: Publish Package
2
2
 
3
3
  on:
4
4
  workflow_dispatch:
5
- pull_request:
6
- types: [ closed ]
5
+ push:
7
6
  branches:
8
7
  - main
9
8
 
@@ -14,21 +13,23 @@ permissions:
14
13
  jobs:
15
14
  publish:
16
15
  runs-on: ubuntu-latest
17
- if: |
18
- github.event_name == 'workflow_dispatch' ||
19
- github.event.pull_request.merged == true
20
16
  steps:
21
17
  - uses: actions/checkout@v5
22
18
  with:
23
19
  fetch-depth: 0
20
+
24
21
  - uses: actions/setup-node@v6
25
22
  with:
26
23
  node-version: 24
24
+
27
25
  - uses: oven-sh/setup-bun@v2
26
+
28
27
  - run: git config user.name "github-actions[bot]"
29
28
  - run: git config user.email "github-actions[bot]@users.noreply.github.com"
29
+
30
30
  - run: npm version patch
31
31
  - run: npm ci
32
32
  - run: npm publish
33
+
33
34
  - run: git commit -am "Commit autogenerated output" || true
34
35
  - run: git push --follow-tags
@@ -4,10 +4,15 @@ on:
4
4
  workflow_dispatch:
5
5
  inputs:
6
6
  utilities:
7
+ description: "@shakerquiz/utilities@aquamarine"
8
+ required: false
9
+ default: true
7
10
  type: boolean
8
- description: "@shakerquiz/utilities"
11
+ pr:
12
+ description: "Open PR ?"
9
13
  required: false
10
- default: false
14
+ default: true
15
+ type: boolean
11
16
 
12
17
  permissions:
13
18
  contents: write
@@ -24,6 +29,7 @@ jobs:
24
29
  node-version: 24
25
30
 
26
31
  - name: Create branch
32
+ if: ${{ inputs.pr }}
27
33
  run: |
28
34
  BRANCH="chore/bump-shakerquiz-$(date +%Y%m%d-%H%M%S)"
29
35
  echo "BRANCH=$BRANCH" >> "$GITHUB_ENV"
@@ -42,9 +48,10 @@ jobs:
42
48
 
43
49
  - name: Push branch
44
50
  run: |
45
- git push -u origin "$BRANCH"
51
+ git push origin HEAD
46
52
 
47
53
  - name: Open PR
54
+ if: ${{ inputs.pr }}
48
55
  env:
49
56
  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50
57
  run: |
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@shakerquiz/url",
4
- "version": "0.0.53",
4
+ "version": "0.0.55",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -15,7 +15,7 @@
15
15
  "./*": "./source/*/index.js"
16
16
  },
17
17
  "dependencies": {
18
- "@shakerquiz/utilities": "4.0.27"
18
+ "@shakerquiz/utilities": "4.0.28"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/bun": "1.3.6",