chore: update CI workflow to use npm instead of pnpm and adjust caching
This commit is contained in:
parent
eec4b6f28b
commit
e083a2fd70
2 changed files with 6 additions and 6 deletions
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
|
@ -11,14 +11,14 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout branch
|
||||
uses: actions/checkout@v6
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
# - name: Setup pnpm
|
||||
# uses: pnpm/action-setup@v4
|
||||
- name: Setup node.js 20
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 24
|
||||
cache: 'pnpm'
|
||||
cache: 'npm'
|
||||
- name: Install Dependencies
|
||||
run: pnpm i --frozen-lockfile
|
||||
- name: Semantic release
|
||||
run: pnpm publish --verbose
|
||||
run: npm i --frozen-lockfile
|
||||
- name: release
|
||||
run: npm publish --verbose
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue