Skip to content

Commit

Permalink
ci(CI&CD): 🎡 cI
Browse files Browse the repository at this point in the history
  • Loading branch information
guotingchao committed Apr 24, 2024
1 parent 15db677 commit 75867cb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .changeset/metal-socks-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cardbrother/nestjs-tencent-cloud-sdk": patch
---

update some ci config
23 changes: 11 additions & 12 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}
# concurrency: ${{ github.workflow }}-${{ github.ref }}

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -14,16 +14,16 @@ env:
jobs:
release:
name: 🚀 Release
strategy:
matrix:
os: [ubuntu-latest]
node-version: [lts/*]
pnpm-version: [latest]
runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ubuntu-latest]
# node-version: [lts/*]
# pnpm-version: [latest]
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4s
with:
token: ${{ env.GITHUB_TOKEN }}

Expand All @@ -35,15 +35,14 @@ jobs:

- name: 🥡 Setup pnpm
id: setup-pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4s
with:
version: ${{ matrix.pnpm-version }}
version: latest
run_install: false

- name: 🎈 Get pnpm store directory
id: get-pnpm-cache-dir
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
run: echo "pnpm_cache_dir=$(pnpm store path)" >> "$GITHUB_OUTPUT"

- name: 🔆 Cache pnpm modules
uses: actions/cache@v4
Expand Down

0 comments on commit 75867cb

Please sign in to comment.