Skip to content

Commit 05ff886

Browse files
committed
ci: update cron runtime for npm-test
1 parent cc5f683 commit 05ff886

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

.github/workflows/npm-test.yml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
1-
# ---------------------------------------------------------------------------------------
1+
# #
22
# @parent : github workflow
33
# @desc : runs tests on gistr
44
# @author : Aetherinox
55
# @url : https://github.com/Aetherinox
6-
# ---------------------------------------------------------------------------------------
6+
# #
77

88
name: "📦 Plugin › Test"
99
run-name: "📦 Plugin › Test"
1010

11-
# ---------------------------------------------------------------------------------------
11+
# #
1212
# triggers
13-
# ---------------------------------------------------------------------------------------
13+
#
14+
# cron runtime:
15+
# “At 00:00 on Sunday.”
16+
# #
1417

1518
on:
16-
workflow_dispatch:
17-
schedule:
18-
- cron: "0 */4 * * *"
19+
workflow_dispatch:
20+
schedule:
21+
- cron: "0 0 * * 0"
1922

20-
# ---------------------------------------------------------------------------------------
23+
# #
2124
# environment variables
22-
# ---------------------------------------------------------------------------------------
25+
# #
2326

2427
env:
2528
PLUGIN_NAME: gistr
@@ -29,18 +32,17 @@ env:
2932
BOT_NAME_3: EuropaServ
3033
BOT_NAME_DEPENDABOT: dependabot[bot]
3134

32-
# ---------------------------------------------------------------------------------------
35+
# #
3336
# jobs
34-
# ---------------------------------------------------------------------------------------
37+
# #
3538

3639
jobs:
3740
push-release:
3841
name: "Push Release"
3942
runs-on: ubuntu-latest
4043
permissions:
41-
contents: write
44+
contents: write
4245
steps:
43-
4446
- name: "☑️ Checkout"
4547
uses: actions/checkout@v4
4648
id: task_release_checkout
@@ -54,27 +56,27 @@ jobs:
5456
node-version: "20.x"
5557
registry-url: https://npm.pkg.github.com/
5658

57-
# ---------------------------------------------------------------------------------------
59+
# #
5860
# Package Version > Set
59-
# ---------------------------------------------------------------------------------------
61+
# #
6062

6163
- name: "👁️‍🗨️ Package Version › Set"
6264
id: task_release_package_version_set
6365
run: echo "PACKAGE_VERSION=$(cat package.json | jq -r '.version')" >> $GITHUB_ENV
6466

65-
# ---------------------------------------------------------------------------------------
67+
# #
6668
# Package Version > Get
67-
# ---------------------------------------------------------------------------------------
69+
# #
6870

6971
- name: "👁️‍🗨️ Package Version › Get"
7072
id: task_release_package_version_get
7173
run: |
72-
echo "VERSION: ${{ env.PACKAGE_VERSION }}"
74+
echo "VERSION: ${{ env.PACKAGE_VERSION }}"
7375
74-
# ---------------------------------------------------------------------------------------
76+
# #
7577
# Dist Releases > Run pretty and lint
7678
# no need to run npm run generate here since build does it already
77-
# ---------------------------------------------------------------------------------------
79+
# #
7880

7981
- name: "🪪 Run Build"
8082
id: task_release_npm_build

0 commit comments

Comments
 (0)