-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor(refactor): ♻️ cI * feat(new feature): ✨ upgrade readme * feat(new feature): ✨ finish sms & ocr modules * feat(new feature): ✨ finish ocr & sms * ci(CI&CD): 🎡 cI * ci(CI&CD): 🎡 ci * test(Test): ✅ annotate part of the code * ci(CI&CD): 🎡 test * ci(CI&CD): 🎡 test * ci(CI&CD): 🎡 test * ci(CI&CD): 🎡 ci * ci(CI&CD): 🎡 cI * ci(CI&CD): 🎡 cI * ci(CI&CD): 🎡 test * ci(CI&CD): 🎡 cI * ci(CI&CD): 🎡 cI * ci(CI&CD): 🎡 cI * ci(CI&CD): 🎡 cI * ci(CI&CD): 🎡 cI * ci(CI&CD): 🎡 cI * feat(CI&CD): ✨ cI * ci(CI&CD): 🎡 ci * ci(CI&CD): 🎡 cI * ci(CI&CD): 🎡 cI * ci(CI&CD): 🎡 cI * feat(CI&CD): ✨ cI * feat(new feature): ✨ cI * ci(CI&CD): 🎡 cI * feat(new feature): ✨ add changed * ci(CI&CD): 🎡 ci * feat(new feature): ✨ cI * refactor(refactor): ♻️ remove useless files * fix(bug fix): 🐛 fix changesets version * feat(CI&CD): ✨ cI * feat(refactor): ✨ fix bugs * fix(bug fix): 🐛 fIx error package scripts * feat(CI&CD): ✨ cI * feat(new feature): ✨ update to 1.0.0 * 🎡[CI] Release (#8) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * ci(CI&CD): 🎡 upgrade CI * ci(CI&CD): 🎡 upgrade CI --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
0d73d6a
commit 639733f
Showing
22 changed files
with
4,793 additions
and
3,519 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@cardbrother/nestjs-tencent-cloud-sdk": patch | ||
--- | ||
|
||
upgrade ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
name: Release & Publish | ||
on: | ||
push: | ||
branches: | ||
- main | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup PNPM | ||
uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
run_install: false | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: "pnpm" | ||
|
||
- name: Install Nest CLI | ||
run: pnpm install -g @nestjs/cli | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Build Packages | ||
run: pnpm run build | ||
|
||
- name: Upload a Build Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: dist | ||
path: ./dist | ||
|
||
release: | ||
name: Release & Publish | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup PNPM | ||
uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
run_install: false | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: "pnpm" | ||
|
||
- name: Install Nest CLI | ||
run: pnpm install -g @nestjs/cli | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Download a Build Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: dist | ||
path: ./dist | ||
|
||
- name: Create Release Pull Request or Publish | ||
uses: changesets/action@v1 | ||
with: | ||
version: pnpm run release:version | ||
publish: pnpm run release:publish | ||
commit: "🎡[CI] Release" | ||
title: "🎡[CI] Release" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Test | ||
on: | ||
push: | ||
branches: | ||
- "**" | ||
- "!main" | ||
- "!master" | ||
pull_request: | ||
branches: | ||
- "**" | ||
- "!main" | ||
- "!master" | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
prepare: | ||
name: Prepare | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup PNPM | ||
uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
run_install: false | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: "pnpm" | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
needs: prepare | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup PNPM | ||
uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
run_install: false | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: "pnpm" | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Test | ||
run: pnpm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.