Merge pull request #3 from imnyang/main
chore: update CI workflow to use npm instead of pnpm and adjust caching
This commit is contained in:
commit
68e06299a4
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:
|
steps:
|
||||||
- name: Checkout branch
|
- name: Checkout branch
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
- name: Setup pnpm
|
# - name: Setup pnpm
|
||||||
uses: pnpm/action-setup@v4
|
# uses: pnpm/action-setup@v4
|
||||||
- name: Setup node.js 20
|
- name: Setup node.js 20
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 24
|
node-version: 24
|
||||||
cache: 'pnpm'
|
cache: 'npm'
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: pnpm i --frozen-lockfile
|
run: npm i --frozen-lockfile
|
||||||
- name: Semantic release
|
- name: release
|
||||||
run: pnpm publish --verbose
|
run: npm publish --verbose
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue