Skip to content

Release v2.2.4 #122

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

Merged
merged 103 commits into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
2a6b8e2
Merge branch 'release/2.2.2' into develop
ansidev Mar 8, 2023
7f95967
build(deps): update typescript to version 5.0.4
ansidev May 20, 2023
c17ddd4
Merge pull request #67 from ansidev/deps/typescript
ansidev May 20, 2023
b0bca6a
chore(renovate): update Renovate config
ansidev May 20, 2023
b69364b
chore(taskfile): update taskfile
ansidev May 20, 2023
8619dc2
build(deps): update satori to version 0.8.1
ansidev May 20, 2023
dee0849
Merge pull request #68 from ansidev/deps/satori
ansidev May 20, 2023
9f6f100
build(deps): update sass to version 1.62.1
ansidev May 20, 2023
e3b04a6
Merge pull request #69 from ansidev/deps/sass
ansidev May 20, 2023
347dc45
build(deps): update tsx to version 3.12.7
ansidev May 20, 2023
1622166
Merge pull request #70 from ansidev/deps/tsx
ansidev May 20, 2023
5f32cc7
build(deps): update @types/node to version 20.2.1
ansidev May 20, 2023
50c5a50
Merge pull request #71 from ansidev/deps/@types/node
ansidev May 20, 2023
ac59a76
build(deps): update tailwindcss to version 3.3.2
ansidev May 20, 2023
8472269
Merge pull request #72 from ansidev/deps/tailwindcss
ansidev May 20, 2023
0b7c635
build(deps): update tailwindcss-themer to version 3.1.0
ansidev May 20, 2023
c526465
Merge pull request #73 from ansidev/deps/tailwindcss-themer
ansidev May 20, 2023
731a8c4
build(deps): update commander to version 10.0.1
ansidev May 20, 2023
8348081
Merge pull request #74 from ansidev/deps/commander
ansidev May 20, 2023
f8f92f1
build(deps): update @commitlint/cli to version 17.6.3
ansidev May 20, 2023
486df3e
Merge pull request #75 from ansidev/deps/@commitlint/cli
ansidev May 20, 2023
c7167b8
build(deps): update @commitlint/config-conventional to version 17.6.3
ansidev May 20, 2023
1e04803
Merge pull request #76 from ansidev/deps/@commitlint/config-conventional
ansidev May 20, 2023
b1eb04d
build(deps): update @iconify-json/bi to version 1.1.16
ansidev May 20, 2023
718c652
Merge pull request #77 from ansidev/deps/@iconify-json/bi
ansidev May 20, 2023
0f41980
build(deps): update @typescript-eslint/eslint-plugin to version 5.59.6
ansidev May 20, 2023
79e57e6
Merge pull request #78 from ansidev/deps/@typescript-eslint/eslint-pl…
ansidev May 20, 2023
d4119f6
build(deps): update @typescript-eslint/parser to version 5.59.6
ansidev May 20, 2023
1d0da4b
Merge pull request #79 from ansidev/deps/@typescript-eslint/parser
ansidev May 20, 2023
97d9973
build(deps): update @astrojs/partytown to version 1.2.2
ansidev May 20, 2023
0103661
Merge pull request #80 from ansidev/deps/@astrojs/partytown
ansidev May 20, 2023
0f8e64f
build(deps): update @astrojs/rss to version 2.4.2
ansidev May 20, 2023
e42f552
Merge pull request #81 from ansidev/deps/@astrojs/rss
ansidev May 20, 2023
d0a4a07
build(deps): update @astrojs/sitemap to version 1.3.1
ansidev May 20, 2023
12f04e5
Merge pull request #82 from ansidev/deps/@astrojs/sitemap
ansidev May 20, 2023
d756708
build(deps): update @astrojs/tailwind to version 3.1.3
ansidev May 20, 2023
fb16cbf
Merge pull request #83 from ansidev/deps/@astrojs/tailwind
ansidev May 20, 2023
54909b9
build(deps): update astro-compress to version 1.1.43
ansidev May 20, 2023
e6f5fc1
Merge pull request #85 from ansidev/deps/astro-compress
ansidev May 20, 2023
1ce9883
build(deps): update eslint-plugin-astro to version 0.27.0
ansidev May 20, 2023
e8f45d6
Merge pull request #86 from ansidev/deps/eslint-plugin-astro
ansidev May 20, 2023
35745a3
build(deps): update eslint to version 8.41.0
ansidev May 20, 2023
3c50e2a
Merge pull request #87 from ansidev/deps/eslint
ansidev May 20, 2023
a087c06
ci(deploy): use pnpm v8
ansidev May 20, 2023
b058afb
Merge pull request #88 from ansidev/fix/deploy-workflow
ansidev May 20, 2023
97fd064
build(deps): update astro to version 2.0.18
ansidev May 20, 2023
8fe4cdf
Merge pull request #90 from ansidev/deps/astro-2.0.18
ansidev May 20, 2023
0a76b57
build(deps): update astro to version 2.1.0
ansidev May 20, 2023
3867489
Merge pull request #91 from ansidev/deps/astro-2.1.0
ansidev May 20, 2023
1632b56
build(deps): update astro to version 2.2.0
ansidev May 20, 2023
96edf4b
Merge pull request #92 from ansidev/deps/astro-2.2.0
ansidev May 20, 2023
7ecfdcf
build(deps): update astro to version 2.3.0
ansidev May 20, 2023
f87908d
Merge pull request #93 from ansidev/deps/astro-2.3.0
ansidev May 20, 2023
6e87b10
build(deps): update astro to version 2.4.0
ansidev May 20, 2023
4eaca89
Merge pull request #94 from ansidev/deps/astro-2.4.0
ansidev May 20, 2023
f456a6a
build(deps): update astro to version 2.4.5
ansidev May 20, 2023
607a042
Merge pull request #95 from ansidev/deps/astro-2.4.5
ansidev May 20, 2023
2936ebb
chore: set pnpm as package manager
ansidev May 20, 2023
9ba1196
Merge pull request #97 from ansidev/feature/set-package-manager
ansidev May 20, 2023
50efd63
build(deps): update astro-compress to version 1.1.44
ansidev May 20, 2023
653051a
Merge pull request #98 from ansidev/deps/astro-compress
ansidev May 20, 2023
50c7407
chore(release): v2.2.3
ansidev May 20, 2023
123d1c9
Merge branch 'release/2.2.3' into develop
ansidev May 20, 2023
fb5d6fa
fix(deps): update dependency @astrojs/rss to ^2.4.3
renovate[bot] May 22, 2023
b11fc38
Merge pull request #104 from ansidev/renovate/astrojs-rss-2.x
ansidev May 22, 2023
d754581
chore(deps): update typescript-eslint monorepo to ^5.59.7
renovate[bot] May 22, 2023
2f79f2f
chore(deps): update dependency @fontsource/ibm-plex-mono to v5
renovate[bot] May 22, 2023
724602c
Merge pull request #107 from ansidev/renovate/typescript-eslint-monorepo
ansidev May 23, 2023
d141418
Merge pull request #108 from ansidev/renovate/fontsource-ibm-plex-mon…
ansidev May 23, 2023
404ced0
build(deps): update astro to version 2.5.3
ansidev May 23, 2023
7458855
feat(ci:deploy): add debug step
ansidev May 23, 2023
ed27dfd
ci(deploy): correct syntax and add missing environment variable to th…
ansidev May 23, 2023
95f3720
Merge pull request #84 from ansidev/deps/astro
ansidev May 23, 2023
637bd34
Merge remote-tracking branch 'origin/main' into develop
ansidev May 23, 2023
f0c4d74
fix(deps): update dependency astro to v2.5.4
renovate[bot] May 23, 2023
f3b97d5
Merge pull request #105 from ansidev/renovate/astro-2.x
ansidev May 23, 2023
95552ab
fix(deps): update dependency astro to v2.5.5
renovate[bot] May 23, 2023
fc1b4c1
Merge pull request #109 from ansidev/renovate/astro-2.x
ansidev May 24, 2023
bb37558
chore(deps): update dependency satori to ^0.9.1
renovate[bot] May 24, 2023
5205a6d
Merge pull request #110 from ansidev/renovate/satori-0.x
ansidev May 25, 2023
042e2b2
chore(deps): update dependency eslint-plugin-astro to ^0.27.1
renovate[bot] May 25, 2023
2e99f8c
Merge pull request #111 from ansidev/renovate/eslint-plugin-astro-0.x
ansidev May 25, 2023
a870cfb
fix(deps): update dependency astro-compress to ^1.1.46
renovate[bot] May 29, 2023
d46f3ae
chore(deps): update pnpm to v8.6.0
renovate[bot] May 29, 2023
1f6c993
Merge pull request #112 from ansidev/renovate/astro-compress-1.x
ansidev May 29, 2023
6e6d346
Merge pull request #113 from ansidev/renovate/pnpm-8.x
ansidev May 29, 2023
a3e5a23
chore(deps): update typescript-eslint monorepo to ^5.59.8
renovate[bot] May 29, 2023
a64807e
Merge pull request #114 from ansidev/renovate/typescript-eslint-monorepo
ansidev May 29, 2023
1ad063a
chore(deps): update commitlint monorepo to ^17.6.5
renovate[bot] May 30, 2023
9823159
Merge pull request #115 from ansidev/renovate/commitlint-monorepo
ansidev May 30, 2023
c9bf0a4
chore(deps): update dependency dotenv to ^16.1.0
renovate[bot] May 30, 2023
4bfa64a
Merge pull request #116 from ansidev/renovate/dotenv-16.x
ansidev May 30, 2023
db77e03
chore(deps): update dependency @fontsource/ibm-plex-mono to ^5.0.2
renovate[bot] May 30, 2023
576d72f
fix(deps): update dependency @astrojs/partytown to ^1.2.3
renovate[bot] May 30, 2023
0e09bd5
fix(deps): update dependency @astrojs/sitemap to ^1.3.2
renovate[bot] May 30, 2023
4302d66
fix(deps): update dependency astro to v2.5.6
renovate[bot] May 31, 2023
edba632
Merge pull request #117 from ansidev/renovate/fontsource-ibm-plex-mon…
ansidev May 31, 2023
bd6193d
Merge pull request #118 from ansidev/renovate/astrojs-partytown-1.x
ansidev May 31, 2023
c40725c
Merge pull request #119 from ansidev/renovate/astrojs-sitemap-1.x
ansidev May 31, 2023
612a37a
chore(deps): update dependency dotenv to ^16.1.1
renovate[bot] May 31, 2023
a7d2cea
Merge pull request #120 from ansidev/renovate/astro-2.x
ansidev May 31, 2023
743b0ba
Merge pull request #121 from ansidev/renovate/dotenv-16.x
ansidev May 31, 2023
00e625b
chore(release): v2.2.4
ansidev May 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .changes/v2.2.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
## [v2.2.4](https://github.com/ansidev/leetcode-blog/compare/v2.2.3...v2.2.4) (2023-05-31)

### Content

- added solution for LeetCode problem [#2468](https://leetcode.ansidev.xyz/2468-split-message-based-on-limit/).

### Bug Fixes

- **ci:deploy** add debug step

### Dependencies

| Package | Version |
| ---------------------------------- | ------------------------ |
| `@astrojs/partytown` | `^1.2.2` `->` `^1.2.3` |
| `@astrojs/rss` | `^2.4.2` `->` `^2.4.3` |
| `@astrojs/sitemap` | `^1.3.1` `->` `^1.3.2` |
| `astro` | `^2.4.5` `->` `2.5.6` |
| `astro-compress` | `^1.1.44` `->` `^1.1.46` |
| `@commitlint/cli` | `^17.6.3` `->` `^17.6.5` |
| `@commitlint/config-conventional` | `^17.6.3` `->` `^17.6.5` |
| `@fontsource/ibm-plex-mono` | `^4.5.13` `->` `^5.0.2` |
| `@typescript-eslint/eslint-plugin` | `^5.59.6` `->` `^5.59.8` |
| `@typescript-eslint/parser` | `^5.59.6` `->` `^5.59.8` |
| `dotenv` | `^16.0.3` `->` `^16.1.1` |
| `eslint-plugin-astro` | `^0.27.0` `->` `^0.27.1` |
| `satori` | `^0.8.1` `->` `^0.9.1` |

Full Changelog: [v2.2.3...v2.2.4](https://github.com/ansidev/leetcode-blog/compare/v2.2.3...v2.2.4)
132 changes: 89 additions & 43 deletions .github/workflows/deploy_to_netlify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,41 +25,49 @@ jobs:
env:
DEPLOY_ENVIRONMENT: pr-${{ github.event.number }}
run: |
echo "DEPLOY_ENVIRONMENT=$DEPLOY_ENVIRONMENT" >> $GITHUB_ENV
echo "NETLIFY_DEPLOY_PREFIX=${DEPLOY_ENVIRONMENT}--" >> $GITHUB_ENV
echo "NETLIFY_DEPLOY_ALIAS=$DEPLOY_ENVIRONMENT" >> $GITHUB_ENV
{
echo "DEPLOY_ENVIRONMENT=$DEPLOY_ENVIRONMENT"
echo "NETLIFY_DEPLOY_PREFIX=${DEPLOY_ENVIRONMENT}--"
echo "NETLIFY_DEPLOY_ALIAS=$DEPLOY_ENVIRONMENT"
} >> "$GITHUB_ENV"

- name: Set deploy environment as preview
if: github.base_ref == 'develop' && github.event.action == 'closed' && github.event.pull_request.merged == true
env:
DEPLOY_ENVIRONMENT: preview
PR_DEPLOY_ENVIRONMENT: pr-${{ github.event.number }}
run: |
echo "DEPLOY_ENVIRONMENT=$DEPLOY_ENVIRONMENT" >> $GITHUB_ENV
echo "PR_DEPLOY_ENVIRONMENT=$PR_DEPLOY_ENVIRONMENT" >> $GITHUB_ENV
echo "NETLIFY_DEPLOY_PREFIX=${DEPLOY_ENVIRONMENT}--" >> $GITHUB_ENV
echo "NETLIFY_DEPLOY_ALIAS=$DEPLOY_ENVIRONMENT" >> $GITHUB_ENV
{
echo "DEPLOY_ENVIRONMENT=$DEPLOY_ENVIRONMENT"
echo "PR_DEPLOY_ENVIRONMENT=$PR_DEPLOY_ENVIRONMENT"
echo "NETLIFY_DEPLOY_PREFIX=${DEPLOY_ENVIRONMENT}--"
echo "NETLIFY_DEPLOY_ALIAS=$DEPLOY_ENVIRONMENT"
} >> "$GITHUB_ENV"

- name: Set deploy environment as staging
if: github.base_ref == 'main' && contains(fromJSON('["opened", "synchronize"]'), github.event.action)
env:
DEPLOY_ENVIRONMENT: staging
run: |
echo "DEPLOY_ENVIRONMENT=$DEPLOY_ENVIRONMENT" >> $GITHUB_ENV
echo "NETLIFY_DEPLOY_PREFIX=${DEPLOY_ENVIRONMENT}--" >> $GITHUB_ENV
echo "NETLIFY_DEPLOY_ALIAS=$DEPLOY_ENVIRONMENT" >> $GITHUB_ENV
{
echo "DEPLOY_ENVIRONMENT=$DEPLOY_ENVIRONMENT"
echo "NETLIFY_DEPLOY_PREFIX=${DEPLOY_ENVIRONMENT}--"
echo "NETLIFY_DEPLOY_ALIAS=$DEPLOY_ENVIRONMENT"
} >> "$GITHUB_ENV"

- name: Set deploy environment as production
if: github.base_ref == 'main' && github.event.action == 'closed' && github.event.pull_request.merged == true
run: echo "DEPLOY_ENVIRONMENT=production" >> $GITHUB_ENV
run: echo "DEPLOY_ENVIRONMENT=production" >> "$GITHUB_ENV"

- name: Set deploy environment output
id: deploy_environment
run: |
echo "github_environment=$DEPLOY_ENVIRONMENT" >> $GITHUB_OUTPUT
echo "github_pr_environment=$PR_DEPLOY_ENVIRONMENT" >> $GITHUB_OUTPUT
echo "netlify_deploy_prefix=$NETLIFY_DEPLOY_PREFIX" >> $GITHUB_OUTPUT
echo "netlify_deploy_alias=$NETLIFY_DEPLOY_ALIAS" >> $GITHUB_OUTPUT
{
echo "github_environment=$DEPLOY_ENVIRONMENT"
echo "github_pr_environment=$PR_DEPLOY_ENVIRONMENT"
echo "netlify_deploy_prefix=$NETLIFY_DEPLOY_PREFIX"
echo "netlify_deploy_alias=$NETLIFY_DEPLOY_ALIAS"
} >> "$GITHUB_OUTPUT"

outputs:
github_environment: ${{ steps.deploy_environment.outputs.github_environment }}
Expand Down Expand Up @@ -91,7 +99,7 @@ jobs:

- name: Get PNPM store directory
id: pnpm-cache
run: echo "pnpm_store_path=$(pnpm store path)" >> $GITHUB_OUTPUT
run: echo "pnpm_store_path=$(pnpm store path)" >> "$GITHUB_OUTPUT"

- name: Setup pnpm cache
uses: actions/cache@v3
Expand All @@ -109,7 +117,7 @@ jobs:

- name: Set as production environment
if: needs.set_deploy_environment.outputs.github_environment == 'production'
run: echo "PROD=true" >> $GITHUB_ENV
run: echo "PROD=true" >> "$GITHUB_ENV"

- name: Deploy ${{ needs.set_deploy_environment.outputs.github_environment }}
id: deploy
Expand All @@ -124,11 +132,11 @@ jobs:
shell: bash
run: |
set -e
[[ ${PROD:-false} == "true" ]] && \
([[ ${PROD:-false} == "true" ]] && \
OUTPUT=$(GA_ID=$SITE_GA_ID \
SWETRIX_ID=$SITE_SWETRIX_ID \
COUNTER_ANALYTICS_ID=$SITE_COUNTER_ANALYTICS_ID \
DISQUS_ID=$SITE_DISQUS_ID \
SWETRIX_ID="${SITE_SWETRIX_ID}" \
COUNTER_ANALYTICS_ID="${SITE_COUNTER_ANALYTICS_ID}" \
DISQUS_ID="${SITE_DISQUS_ID}" \
pnpm netlify deploy \
--auth ${{ env.NETLIFY_AUTH_TOKEN }} \
--site ${{ env.NETLIFY_SITE_ID }} \
Expand All @@ -137,22 +145,26 @@ jobs:
--context production \
--message "$(git log -1 --pretty=%s)" \
--prod \
| tr '\n' ' ') || \
OUTPUT=$(pnpm netlify deploy \
--auth ${{ env.NETLIFY_AUTH_TOKEN }} \
--site ${{ env.NETLIFY_SITE_ID }} \
--json \
--build \
--context deploy-preview \
--alias ${NETLIFY_DEPLOY_ALIAS} \
--message "$(git log -1 --pretty=%s)" \
| tr '\n' ' ')
| tr '\n' ' ')) || \
OUTPUT=$(
SWETRIX_ID="${SITE_SWETRIX_ID}" \
COUNTER_ANALYTICS_ID="${SITE_COUNTER_ANALYTICS_ID}" \
DISQUS_ID="${SITE_DISQUS_ID}" \
pnpm netlify deploy \
--auth ${{ env.NETLIFY_AUTH_TOKEN }} \
--site ${{ env.NETLIFY_SITE_ID }} \
--json \
--build \
--context deploy-preview \
--alias "${NETLIFY_DEPLOY_ALIAS}" \
--message "$(git log -1 --pretty=%s)" \
| tr '\n' ' ')
set +e

NETLIFY_OUTPUT=$(echo "$OUTPUT")
NETLIFY_OUTPUT="$OUTPUT"

echo "netlify_output=$NETLIFY_OUTPUT" >> $GITHUB_OUTPUT
echo "success=true" >> $GITHUB_OUTPUT
echo "netlify_output=$NETLIFY_OUTPUT" >> "$GITHUB_OUTPUT"
echo "success=true" >> "$GITHUB_OUTPUT"

- name: Post deploy ${{ needs.set_deploy_environment.outputs.github_environment }}
id: post_deploy
Expand All @@ -162,30 +174,64 @@ jobs:
NETLIFY_PROD_URL: ${{ fromJson(steps.deploy.outputs.netlify_output).url }}
run: |
[[ ${PROD:-false} == "true" ]] && \
echo "netlify_deploy_url=$NETLIFY_PROD_URL" >> $GITHUB_OUTPUT || \
echo "netlify_deploy_url=$NETLIFY_DRAFT_URL" >> $GITHUB_OUTPUT
echo "netlify_deploy_url=$NETLIFY_PROD_URL" >> "$GITHUB_OUTPUT" || \
echo "netlify_deploy_url=$NETLIFY_DRAFT_URL" >> "$GITHUB_OUTPUT"

- name: Debug deploy ${{ needs.set_deploy_environment.outputs.github_environment }}
id: debug-deploy
if: always() && (steps.deploy.outcome == 'failure' || steps.post_deploy.outcome == 'failure' )
env:
NETLIFY_DEPLOY_PREFIX: ${{ needs.set_deploy_environment.outputs.netlify_deploy_prefix }}
NETLIFY_DEPLOY_ALIAS: ${{ needs.set_deploy_environment.outputs.netlify_deploy_alias }}
SITE_GA_ID: ${{ vars.SITE_GA_ID }}
SITE_SWETRIX_ID: ${{ vars.SITE_SWETRIX_ID }}
SITE_COUNTER_ANALYTICS_ID: ${{ vars.SITE_COUNTER_ANALYTICS_ID }}
SITE_DISQUS_ID: ${{ vars.SITE_DISQUS_ID }}
shell: bash
run: |
echo "node version $(node -v)"
echo "pnpm version $(pnpm -v)"
([[ ${PROD:-false} == "true" ]] && \
GA_ID=$SITE_GA_ID \
SWETRIX_ID="${SITE_SWETRIX_ID}" \
COUNTER_ANALYTICS_ID="${SITE_COUNTER_ANALYTICS_ID}" \
DISQUS_ID="${SITE_DISQUS_ID}" \
pnpm netlify deploy \
--auth ${{ env.NETLIFY_AUTH_TOKEN }} \
--site ${{ env.NETLIFY_SITE_ID }} \
--build \
--context production \
--message "$(git log -1 --pretty=%s)" \
--prod) || \
GA_ID=$SITE_GA_ID \
SWETRIX_ID="${SITE_SWETRIX_ID}" \
COUNTER_ANALYTICS_ID="${SITE_COUNTER_ANALYTICS_ID}" \
DISQUS_ID="${SITE_DISQUS_ID}" \
pnpm netlify deploy \
--auth ${{ env.NETLIFY_AUTH_TOKEN }} \
--site ${{ env.NETLIFY_SITE_ID }} \
--build \
--context deploy-preview \
--alias "${NETLIFY_DEPLOY_ALIAS}" \
--message "$(git log -1 --pretty=%s)"
outputs:
success: ${{ steps.deploy.outputs.success }}

delete_resources:
needs:
- set_deploy_environment
- deploy
if: needs.deploy.outputs.success == 'true' &&
github.base_ref == 'develop' &&
github.event.action == 'closed' &&
github.event.pull_request.merged == true
if: needs.deploy.outputs.success == 'true' && github.base_ref == 'develop' && github.event.action == 'closed' && github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Delete the PR branch after merged into develop
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GIT_REF_PATH: /repos/${{ github.repository }}/git/refs/heads/${{ github.head_ref }}
run: |
STATUS_CODE=$(gh api -i -H "Accept: application/vnd.github+json" $GIT_REF_PATH | head -1)
[[ "$STATUS_CODE" == "HTTP/2.0 200 OK" ]] && \
gh api --method DELETE -H "Accept: application/vnd.github+json" $GIT_REF_PATH || \
STATUS_CODE=$(gh api -i -H "Accept: application/vnd.github+json" "${GIT_REF_PATH}" | head -1)
([[ "$STATUS_CODE" == "HTTP/2.0 200 OK" ]] && \
gh api --method DELETE -H "Accept: application/vnd.github+json" "${GIT_REF_PATH}") || \
echo "Branch does not exist, deleting was ignored."

- name: Delete the environment ${{ needs.set_deploy_environment.outputs.github_pr_environment }}
Expand Down
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,36 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).

## [v2.2.4](https://github.com/ansidev/leetcode-blog/compare/v2.2.3...v2.2.4) (2023-05-31)

### Content

- added solution for LeetCode problem [#2468](https://leetcode.ansidev.xyz/2468-split-message-based-on-limit/).

### Bug Fixes

- **ci:deploy** add debug step

### Dependencies

| Package | Version |
| ---------------------------------- | ------------------------ |
| `@astrojs/partytown` | `^1.2.2` `->` `^1.2.3` |
| `@astrojs/rss` | `^2.4.2` `->` `^2.4.3` |
| `@astrojs/sitemap` | `^1.3.1` `->` `^1.3.2` |
| `astro` | `^2.4.5` `->` `2.5.6` |
| `astro-compress` | `^1.1.44` `->` `^1.1.46` |
| `@commitlint/cli` | `^17.6.3` `->` `^17.6.5` |
| `@commitlint/config-conventional` | `^17.6.3` `->` `^17.6.5` |
| `@fontsource/ibm-plex-mono` | `^4.5.13` `->` `^5.0.2` |
| `@typescript-eslint/eslint-plugin` | `^5.59.6` `->` `^5.59.8` |
| `@typescript-eslint/parser` | `^5.59.6` `->` `^5.59.8` |
| `dotenv` | `^16.0.3` `->` `^16.1.1` |
| `eslint-plugin-astro` | `^0.27.0` `->` `^0.27.1` |
| `satori` | `^0.8.1` `->` `^0.9.1` |

Full Changelog: [v2.2.3...v2.2.4](https://github.com/ansidev/leetcode-blog/compare/v2.2.3...v2.2.4)

## [v2.2.3](https://github.com/ansidev/leetcode-blog/compare/v2.2.2...v2.2.3) (2023-05-21)

### Dev features
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "leetcode-blog",
"description": "Solutions for LeetCode problems - Written by ansidev",
"type": "module",
"version": "2.2.3",
"version": "2.2.4",
"license": "MIT",
"packageManager": "pnpm@8.5.1",
"packageManager": "pnpm@8.6.0",
"scripts": {
"lc:new": "tsx ./src/cmd/leetcode.ts",
"dev": "astro dev",
Expand All @@ -17,41 +17,41 @@
"lint": "eslint --ext .cjs,.mjs,.ts,.astro --ignore-path .gitignore ."
},
"dependencies": {
"@astrojs/partytown": "^1.2.2",
"@astrojs/rss": "^2.4.2",
"@astrojs/sitemap": "^1.3.1",
"@astrojs/partytown": "^1.2.3",
"@astrojs/rss": "^2.4.3",
"@astrojs/sitemap": "^1.3.2",
"@astrojs/tailwind": "^3.1.3",
"astro": "2.4.5",
"astro-compress": "^1.1.44",
"astro": "2.5.6",
"astro-compress": "^1.1.46",
"astro-purgecss": "^2.0.1",
"tailwindcss": "^3.3.2"
},
"devDependencies": {
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"@fontsource/ibm-plex-mono": "^4.5.13",
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@fontsource/ibm-plex-mono": "^5.0.2",
"@iconify-json/bi": "^1.1.16",
"@resvg/resvg-js": "^2.4.1",
"@tailwindcss/typography": "^0.5.9",
"@types/lodash.get": "^4.4.7",
"@types/lodash.kebabcase": "^4.1.7",
"@types/mustache": "^4.2.2",
"@types/node": "^20.2.1",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"commander": "^10.0.1",
"commitizen": "^4.3.0",
"dayjs": "^1.11.7",
"dotenv": "^16.0.3",
"dotenv": "^16.1.1",
"eslint": "^8.41.0",
"eslint-plugin-astro": "^0.27.0",
"eslint-plugin-astro": "^0.27.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"lodash.get": "^4.4.2",
"lodash.kebabcase": "^4.1.1",
"mustache": "^4.2.0",
"sass": "^1.62.1",
"satori": "^0.8.1",
"satori": "^0.9.1",
"satori-html": "^0.3.2",
"tailwindcss-themer": "^3.1.0",
"tsx": "^3.12.7",
Expand Down
Loading