Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/3.13.0 #1110

Merged
merged 11 commits into from
Dec 25, 2023
Merged
2 changes: 1 addition & 1 deletion .cz.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commitizen": {
"name": "cz_customize",
"version": "3.12.0",
"version": "3.13.0",
"gpg_sign": true,
"tag_format": "$major.$minor.$patch$prerelease",
"version_type": "semver",
Expand Down
109 changes: 0 additions & 109 deletions .github/workflows/_checks-example.nyml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/_dispatch-bd-fe--release.nyml

This file was deleted.

3 changes: 2 additions & 1 deletion .github/workflows/bd-fe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:
repository: dgrebb/dgrebb.com
ref: ${{ github.ref }}
token: ${{ github.token }}
fetch-depth: 1

- name: 🤿 Set Vars
id: vars
Expand Down Expand Up @@ -134,7 +135,7 @@ jobs:
- name: ⬢ Setup Node & Cache
uses: actions/setup-node@v4
with:
node-version: "20.9.0"
node-version: "20.x"
cache: "npm"
cache-dependency-path: front/package-lock.json

Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/bdt-fe--release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ jobs:
lint:
name: 💨
uses: ./.github/workflows/lint.yml
with:
env: ${{ inputs.env }}

build_deploy:
name: 🚀
needs: lint
uses: ./.github/workflows/bd-fe.yml
with:
env: ${{ github.event.inputs.env }}
env: ${{ inputs.env }}
secrets:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down Expand Up @@ -61,6 +63,8 @@ jobs:
name: 👀
needs: build_deploy
uses: ./.github/workflows/test-backstop.yml
with:
env: ${{ inputs.env }}
secrets:
GH_WORKFLOW_TOKEN: ${{ secrets.GH_WORKFLOW_TOKEN }}
AWS_S3_BUCKET_REPORTS: ${{ secrets.AWS_S3_BUCKET_REPORTS }}
Expand All @@ -73,6 +77,8 @@ jobs:
name: 🕯️
needs: build_deploy
uses: ./.github/workflows/test-lighthouse.yml
with:
env: ${{ inputs.env }}
secrets:
AWS_S3_BUCKET_REPORTS: ${{ secrets.AWS_S3_BUCKET_REPORTS }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand All @@ -85,6 +91,8 @@ jobs:
name: 📈
needs: build_deploy
uses: ./.github/workflows/test-psi.yml
with:
env: ${{ inputs.env }}
secrets:
PSI_APIKEY: ${{ secrets.PSI_APIKEY }}
GH_WORKFLOW_TOKEN: ${{ secrets.GH_WORKFLOW_TOKEN }}
8 changes: 8 additions & 0 deletions .github/workflows/bdt-fe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
lint:
name: 💨
uses: ./.github/workflows/lint.yml
with:
env: ${{ github.ref_name == 'main' && 'prd' || 'stg' }}

build_deploy:
name: 🚀
Expand Down Expand Up @@ -62,6 +64,8 @@ jobs:
name: 👀
needs: build_deploy
uses: ./.github/workflows/test-backstop.yml
with:
env: ${{ github.ref_name == 'main' && 'prd' || 'stg' }}
secrets:
GH_WORKFLOW_TOKEN: ${{ secrets.GH_WORKFLOW_TOKEN }}
AWS_S3_BUCKET_REPORTS: ${{ secrets.AWS_S3_BUCKET_REPORTS }}
Expand All @@ -74,6 +78,8 @@ jobs:
name: 🕯️
needs: build_deploy
uses: ./.github/workflows/test-lighthouse.yml
with:
env: ${{ github.ref_name == 'main' && 'prd' || 'stg' }}
secrets:
AWS_S3_BUCKET_REPORTS: ${{ secrets.AWS_S3_BUCKET_REPORTS }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand All @@ -86,6 +92,8 @@ jobs:
name: 📈
needs: build_deploy
uses: ./.github/workflows/test-psi.yml
with:
env: ${{ github.ref_name == 'main' && 'prd' || 'stg' }}
secrets:
PSI_APIKEY: ${{ secrets.PSI_APIKEY }}
GH_WORKFLOW_TOKEN: ${{ secrets.GH_WORKFLOW_TOKEN }}
15 changes: 10 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
name: 🧺 Lint
run-name: "${{ github.ref_name == 'main' && 'PRD' || 'STG' }} - 🧼 Linting ${{ github.event_name == 'pull_request' && format('PR #{0}: {1}', github.event.pull_request.number, github.event.pull_request.title) || format('latest {0}', github.ref_name) }}"
name: 🧺 Lint
run-name: "${{ inputs.env == 'prd' && 'PRD' || 'STG' }} - 🧼 Linting ${{ github.event_name == 'pull_request' && format('PR #{0}: {1}', github.event.pull_request.number, github.event.pull_request.title) || format('latest {0}', github.ref_name) }}"

on:
workflow_dispatch:
workflow_call:
inputs:
env:
description: "Target deployment environment."
type: string
required: true

env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
Expand All @@ -12,8 +17,7 @@ jobs:
lint:
name: ≅ Lint
runs-on: ubuntu-latest
environment:
name: ${{ github.ref_name == 'main' && 'prd' || 'stg' }}
environment: ${{ inputs.env }}

steps:
- name: 𐂷 Checkout
Expand All @@ -22,13 +26,14 @@ jobs:
repository: dgrebb/dgrebb.com
ref: ${{ github.ref }}
token: ${{ github.token }}
fetch-depth: 1
sparse-checkout: |
front

- name: ⬢ Setup Node & Cache
uses: actions/setup-node@v4
with:
node-version: "20.9.0"
node-version: "20.x"
cache: "npm"
cache-dependency-path: |
front/package.json
Expand Down
57 changes: 0 additions & 57 deletions .github/workflows/test-backstop-refs.yml

This file was deleted.

Loading
Loading