1- # ---------------------------------------------------------------------------------------
1+ # #
22# @parent : github workflow
33# @desc : runs tests on gistr
44# @author : Aetherinox
55# @url : https://github.com/Aetherinox
6- # ---------------------------------------------------------------------------------------
6+ # #
77
88name : " 📦 Plugin › Test"
99run-name : " 📦 Plugin › Test"
1010
11- # ---------------------------------------------------------------------------------------
11+ # #
1212# triggers
13- # ---------------------------------------------------------------------------------------
13+ #
14+ # cron runtime:
15+ # “At 00:00 on Sunday.”
16+ # #
1417
1518on :
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
2427env :
2528 PLUGIN_NAME : gistr
2932 BOT_NAME_3 : EuropaServ
3033 BOT_NAME_DEPENDABOT : dependabot[bot]
3134
32- # ---------------------------------------------------------------------------------------
35+ # #
3336# jobs
34- # ---------------------------------------------------------------------------------------
37+ # #
3538
3639jobs :
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