Skip to content

Commit 6540907

Browse files
committed
ci: update run scripts
1 parent 9c6e37d commit 6540907

File tree

2 files changed

+40
-40
lines changed

2 files changed

+40
-40
lines changed

.github/workflows/npm-publish.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,15 @@ jobs:
158158
packages: write
159159
steps:
160160

161+
# #
162+
# Initialize › Checkout
163+
# #
164+
165+
- name: '☑️ Checkout'
166+
uses: actions/checkout@v4
167+
with:
168+
fetch-depth: 0
169+
161170
# #
162171
# Initialize › Job Information
163172
# #
@@ -244,15 +253,6 @@ jobs:
244253
echo -e
245254
echo "―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――"
246255
247-
# #
248-
# Release › Checkout
249-
# #
250-
251-
- name: '☑️ Checkout'
252-
uses: actions/checkout@v4
253-
with:
254-
fetch-depth: 0
255-
256256
# #
257257
# Get version from package.json VERSION value
258258
# #
@@ -287,6 +287,13 @@ jobs:
287287
packages: write
288288
steps:
289289

290+
# #
291+
# Publish › NpmJS › Checkout
292+
# #
293+
294+
- name: '☑️ Checkout'
295+
uses: actions/checkout@v4
296+
290297
# #
291298
# Publish › NpmJS › Job Information
292299
# #
@@ -373,13 +380,6 @@ jobs:
373380
echo -e
374381
echo "―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――"
375382
376-
# #
377-
# Publish › NpmJS › Checkout
378-
# #
379-
380-
- name: '☑️ Checkout'
381-
uses: actions/checkout@v4
382-
383383
# #
384384
# Publish › NpmJS › Setup NodeJS
385385
# #
@@ -461,6 +461,15 @@ jobs:
461461
packages: write
462462
steps:
463463

464+
# #
465+
# Publish › Github GHCR › Checkout
466+
# #
467+
468+
- name: '☑️ Checkout'
469+
uses: actions/checkout@v4
470+
with:
471+
fetch-depth: 0
472+
464473
# #
465474
# Publish › Github GHCR › Job Information
466475
# #
@@ -547,15 +556,6 @@ jobs:
547556
echo -e
548557
echo "―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――"
549558
550-
# #
551-
# Publish › Github GHCR › Checkout
552-
# #
553-
554-
- name: '☑️ Checkout'
555-
uses: actions/checkout@v4
556-
with:
557-
fetch-depth: 0
558-
559559
# #
560560
# Publish › Github GHCR › Setup NodeJS
561561
# #
@@ -666,6 +666,15 @@ jobs:
666666
packages: write
667667
steps:
668668

669+
# #
670+
# Publish › Github Release › Checkout
671+
# #
672+
673+
- name: '☑️ Checkout'
674+
uses: actions/checkout@v4
675+
with:
676+
fetch-depth: 0
677+
669678
# #
670679
# Publish › Github Release › Job Information
671680
# #
@@ -752,15 +761,6 @@ jobs:
752761
echo -e
753762
echo "―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――"
754763
755-
# #
756-
# Publish › Github Release › Checkout
757-
# #
758-
759-
- name: '☑️ Checkout'
760-
uses: actions/checkout@v4
761-
with:
762-
fetch-depth: 0
763-
764764
# #
765765
# Publish › Github Release › Setup Packages
766766
# #

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@
7171
"postexample:windows:nexe-custom-path": "noxenv DEBUG=notifier ./dist/toaster-custom-path.exe",
7272
"contrib:add": "all-contributors add",
7373
"contrib:generate": "all-contributors generate",
74-
"ntfy": "node ntfy.js",
75-
"ntfy:generate": "node ntfy.js generate",
76-
"env-base": "npx --quiet env-cmd --no-override node ntfy.js",
77-
"env-uuid": "npx --quiet env-cmd --no-override node ntfy.js uuid",
78-
"env-guid": "npx --quiet env-cmd --no-override node ntfy.js guid",
79-
"env-version": "node -p require('./package.json').version;"
74+
"root": "node root.mjs",
75+
"root:generate": "node root.mjs generate",
76+
"root:root": "npx --quiet env-cmd --no-override node root.mjs",
77+
"root:uuid": "npx --quiet env-cmd --no-override node root.mjs uuid",
78+
"root:guid": "npx --quiet env-cmd --no-override node root.mjs guid",
79+
"root:version": "node -p require('./package.json').version;"
8080
},
8181
"jest": {
8282
"testRegex": "/test/[^_]*.js",

0 commit comments

Comments
 (0)