@shakerquiz/utilities 4.0.31 → 4.0.33

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.
@@ -1,11 +1,11 @@
1
- name: Publish aquamarine
1
+ name: Publish package (aquamarine)
2
2
 
3
3
  on:
4
- workflow_dispatch:
5
4
  pull_request:
6
5
  types: [ closed ]
7
6
  branches:
8
7
  - aquamarine
8
+ workflow_dispatch:
9
9
 
10
10
  permissions:
11
11
  id-token: write
@@ -15,15 +15,16 @@ jobs:
15
15
  publish:
16
16
  runs-on: ubuntu-latest
17
17
  if: |
18
- github.event_name == 'workflow_dispatch' ||
19
- github.event.pull_request.merged == true
18
+ github.event.pull_request.merged == true ||
19
+ github.event_name == 'workflow_dispatch'
20
20
  steps:
21
- - uses: actions/checkout@v5
21
+ - uses: actions/checkout@v6
22
22
  with:
23
23
  fetch-depth: 0
24
+ ref: aquamarine
24
25
  - uses: actions/setup-node@v6
25
26
  with:
26
- node-version: 24
27
+ node-version: latest
27
28
  - uses: oven-sh/setup-bun@v2
28
29
  - run: git config user.name "github-actions[bot]"
29
30
  - run: git config user.email "github-actions[bot]@users.noreply.github.com"
@@ -32,14 +33,18 @@ jobs:
32
33
  - run: npm publish --tag aquamarine
33
34
  - run: git commit -am "Commit autogenerated output" || true
34
35
  - run: git push --follow-tags
35
- update:
36
+ updates:
36
37
  needs: publish
37
38
  runs-on: ubuntu-latest
39
+ strategy:
40
+ fail-fast: false
41
+ matrix:
42
+ repo: [ url, contracts ]
38
43
  steps:
39
- - name: Update ${{ github.repository_owner }}/url
44
+ - name: Update and Publish ${{ github.repository_owner }}/${{ matrix.repo }}
40
45
  env:
41
46
  GH_TOKEN: ${{ secrets.GH_TOKEN }}
42
47
  run: |
43
48
  gh workflow run publish.yml \
44
- -R ${{ github.repository_owner }}/url \
49
+ -R "${{ github.repository_owner }}/${{ matrix.repo }}" \
45
50
  -f pr=false -f utilities=true
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@shakerquiz/utilities",
4
- "version": "4.0.31",
4
+ "version": "4.0.33",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -2,6 +2,7 @@ export const RegistrationLineups = Object.freeze(
2
2
  /** @type {const} */ ([
3
3
  'Main',
4
4
  'Reserve',
5
+ 'Unspecifed',
5
6
  ]),
6
7
  )
7
8
 
@@ -17,4 +18,5 @@ export const RegistrationLineup = Object.freeze(
17
18
  export const RegistrationLineupEmoji = Object.freeze({
18
19
  'Main': '🟢',
19
20
  'Reserve': '🟡',
21
+ 'Unspecifed': '⚫️',
20
22
  })