@shakerquiz/url 0.0.40 → 0.0.41
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/.github/workflows/update.yml +54 -0
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
name: Bump @shakerquiz/* packages
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
utilities:
|
|
7
|
+
type: boolean
|
|
8
|
+
description: "@shakerquiz/utilities"
|
|
9
|
+
required: false
|
|
10
|
+
default: false
|
|
11
|
+
|
|
12
|
+
permissions:
|
|
13
|
+
contents: write
|
|
14
|
+
pull-requests: write
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
bump:
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
|
|
22
|
+
- uses: actions/setup-node@v4
|
|
23
|
+
with:
|
|
24
|
+
node-version: 24
|
|
25
|
+
|
|
26
|
+
- name: Create branch
|
|
27
|
+
run: |
|
|
28
|
+
BRANCH="chore/bump-shakerquiz-$(date +%Y%m%d-%H%M%S)"
|
|
29
|
+
echo "BRANCH=$BRANCH" >> "$GITHUB_ENV"
|
|
30
|
+
git checkout -b "$BRANCH"
|
|
31
|
+
|
|
32
|
+
- name: "@shakerquiz/utilities"
|
|
33
|
+
if: ${{ inputs.utilities }}
|
|
34
|
+
run: npm i @shakerquiz/utilities@aquamarine --save-exact --prefer-online
|
|
35
|
+
|
|
36
|
+
- name: Commit changes
|
|
37
|
+
run: |
|
|
38
|
+
git config user.name "github-actions[bot]"
|
|
39
|
+
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
40
|
+
git add package.json package-lock.json
|
|
41
|
+
git commit -m "chore: bump @shakerquiz packages" || true
|
|
42
|
+
|
|
43
|
+
- name: Push branch
|
|
44
|
+
run: |
|
|
45
|
+
git push -u origin "$BRANCH"
|
|
46
|
+
|
|
47
|
+
- name: Open PR
|
|
48
|
+
env:
|
|
49
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
50
|
+
run: |
|
|
51
|
+
gh pr create \
|
|
52
|
+
--title "chore: bump @shakerquiz packages" \
|
|
53
|
+
--body "Automated dependency bump via workflow_dispatch." \
|
|
54
|
+
--head "$BRANCH" || true
|