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
21
.github/workflows/ci.yml.disabled
vendored
Normal file
21
.github/workflows/ci.yml.disabled
vendored
Normal 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
|
||||||
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…
Reference in a new issue