Skip to content

Commit

Permalink
major (#1439)
Browse files Browse the repository at this point in the history
* issue: #1412;

* issue: #1399;

* issue: #1412;

* chore: remove redundant console.logs(..);

* issue: #1406;

* stash: [RE-STRUCTURE] V5 - Endpoints + OpenAPI;

* package: scores-lib -> 1.0.2;

* chore: V5; endpoints correct;

* ci: update;

* package: scores-lib -> 1.0.3;

* Feature/issue-1413-1415-1416/player-urls-add (#1436)

* doc: OpenApi update;

* feat: #1416; endpoint arg. update;

* doc: OpenApi update;

* feat: #1415; endpoint; scores-lib; player-links;

* feat: #1413; endpoint; scores-lib; player-links;

* feat: #1416; endpoint; scores-lib; player-links;

* feat: adjust Layout for home; league; (+page.ts);

* chore: clean FeatBetSite; clean LVS2 endpoint;

* package: scores-lib -> 1.1.2;

* fix: corrections across #1413; #1415; #1416;

* issue: #1413; corrections;

* issue: #1415; corrections;

* issue: #1413; corrections;

* issue: #1416; corrections;

* chore: #1413; #1415; #1416; (clean); to V5;

* issue: #1418;

* issue: #1418; logic update;

* issue: #1418; logic update;

* issue: #1346;

* chore: update app.d.ts; set global.d.ts;

* chore: aesthetic;

* issue: #1438;

* issue: #1438;

* chore: clean logs; whitespace; aesthetic;

* package: scores-lib -> 1.1.3;

* issue: #1346; add logs;
  • Loading branch information
migbash authored Jun 30, 2023
1 parent d6713a3 commit 820afd6
Show file tree
Hide file tree
Showing 114 changed files with 8,095 additions and 5,383 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/deploy.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/pr-main-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
jobs:

npm-build-check:
name: NPM Build Check
name: 🪀 NPM Build Check
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
Expand All @@ -35,14 +35,14 @@ jobs:
run: |
npm install -g [email protected]
- name: '🟩 Build npm'
run: |
run: |
npm ci
npm install
npm run build
docker-image-build:
needs: npm-build-check
name: Docker Image Build
name: 🐳 Docker Image Build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
Expand Down
55 changes: 41 additions & 14 deletions .github/workflows/pr-main-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
- closed
branches:
- main

jobs:

# npm-version-bump-test:
Expand All @@ -33,7 +33,7 @@ jobs:
# NOTE: anothrNick/github-tag-action
# NOTE: -> creates and bumps TAG version of the REPO
# NOTE: -> in PR, the SQUASH MERGE needs the #patch/#major/#minor to be in the "commit-merge" message
# NOTE: -> ✅ works!,
# NOTE: -> ✅ works!,
# NOTE: -> ❌ but does not update the `package.json` according to <version-type>
# region #1
# - uses: actions/checkout@v3
Expand All @@ -50,9 +50,9 @@ jobs:
# # (optional) - Set initial version before bump. Default 0.0.0.
# INITIAL_VERSION: 0.7.1
# endregion #1

# NOTE: phips28/gh-action-bump-version
# NOTE: [DESC] This Action bumps the version in package.json and pushes it back to the repo.
# NOTE: [DESC] This Action bumps the version in package.json and pushes it back to the repo.
# NOTE: [DESC] It is meant to be used on every successful merge to master but you'll need to configure that workflow yourself.
# NOTE: -> uses version: that of the package.json for bump/update
# NOTE: -> ✅ & updates the package.json itself!;
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
# - name: Update version in package.json
# uses: maks-stupak/[email protected]
# endregion #4

# NOTE: ALTERNATIVE (#4)
# NOTE: -> exact copy of SAMPLE-EXAMPLE worklfow provided;
# NOTE: -> https://github.com/maks-stupak/gh-action-bump-version/blob/v7.1.5/.github/workflows/push.yml
Expand All @@ -145,15 +145,15 @@ jobs:
run: |
npm install -g [email protected]
- name: '🟩 Build npm'
run: |
run: |
npm ci
npm install
npm run build
# -----------------------
# NOTE:
# -> (on valid) bumps npm version
# -> of (this) repository to
# -> of (this) repository to
# -> a specified target;
# -----------------------
npm-version-bump:
Expand Down Expand Up @@ -203,10 +203,10 @@ jobs:
- id: step1
name: BUMP - check
# if: contains(github.event.pull_request.labels.*.name, 'major')
if: '${{
contains(env.PATCH_WORDING, github.event.pull_request.title)
|| contains(env.MINOR_WORDING, github.event.pull_request.title)
|| contains(env.MAJOR_WORDING, github.event.pull_request.title)
if: '${{
contains(env.PATCH_WORDING, github.event.pull_request.title)
|| contains(env.MINOR_WORDING, github.event.pull_request.title)
|| contains(env.MAJOR_WORDING, github.event.pull_request.title)
}}'
# see: https://michaelcurrin.github.io/dev-cheatsheets/cheatsheets/ci-cd/github-actions/persist.html
# see: https://stackoverflow.com/questions/58177786/get-the-current-pushed-tag-in-github-actions
Expand All @@ -218,7 +218,7 @@ jobs:
run: git push origin main --follow-tags --force
- id: set-version
name: output/set version change
run: |
run: |
npm pkg get version
echo "release_tag=$(npm pkg get version --workspaces=false | tr -d \") ">> $GITHUB_OUTPUT
- name: check output/set version
Expand All @@ -245,7 +245,7 @@ jobs:
- name: node config
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 16
- name: git config
run: |
git config --global user.email "${{ secrets.GH_ORG_EMAIL }}"
Expand Down Expand Up @@ -282,4 +282,31 @@ jobs:
with:
automatic_release_tag: "v${{ env.RELEASE_TAG }}"
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
prerelease: false

# -----------------------
# NOTE: [STASHED]
# -> deploys target MAIN
# -> after successfull "bump" & "release";
# -> dependent on "create-release"
# -----------------------
# deploy:
# name: 🚀 Deployment
# needs: create-release
# runs-on: ubuntu-22.04
# steps:
# - name: executing remote ssh commands using password
# uses: appleboy/[email protected]
# # [ℹ] declaring ENV variables to be used in the project-CI/CD
# with:
# host: ${{secrets.WEB_SERVER_HOST}}
# username: ${{secrets.WEB_SERVER_USERNAME}}
# key: ${{secrets.WEB_SERVER_KEY}}
# port: ${{secrets.WEB_SERVER_PORT}}
# script: |
# # [ℹ] Navigate to target project directory
# cd web/scores
# # [ℹ] Update the directory with latests changes
# git pull origin main
# # [ℹ] Run target makefile command
# make update-scores-web
Loading

0 comments on commit 820afd6

Please sign in to comment.