imnyang/comcigan.ts
Watch
1
0
Fork
You've already forked comcigan.ts
0

chore: update CI workflow to use npm instead of pnpm and adjust caching

This commit is contained in:
암냥 2025-11-28 11:41:49 +09:00
commit e083a2fd70
2 changed files with 6 additions and 6 deletions

21
.github/workflows/ci.yml.disabled vendored Normal file
View file

@ -0,0 +1,21 @@
name: CI
on: [push, pull_request]
jobs:
biome:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup node.js 24
uses: actions/setup-node@v4
with:
node-version: 24
cache: "pnpm"
- name: Install Dependencies
run: pnpm i --frozen-lockfile
- name: Run biome
run: pnpm biome ci --error-on-warnings

View file

@ -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