mirror of
https://github.com/HoshinoSuzumi/rayine-ui.git
synced 2025-04-07 12:48:50 +08:00
💚 ci use pnpm
This commit is contained in:
parent
0d04a4581a
commit
15e88012ea
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -19,11 +19,14 @@ jobs:
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: setup pnpm
|
||||
uses: pnpm/action-setup@v4.0.0
|
||||
|
||||
- name: Install dependencies
|
||||
run: npx nypm@latest i
|
||||
run: pnpm i
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
run: pnpm lint
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
@ -35,11 +38,14 @@ jobs:
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: setup pnpm
|
||||
uses: pnpm/action-setup@v4.0.0
|
||||
|
||||
- name: Install dependencies
|
||||
run: npx nypm@latest i
|
||||
run: pnpm i
|
||||
|
||||
- name: Playground prepare
|
||||
run: npm run dev:prepare
|
||||
run: pnpm dev:prepare
|
||||
|
||||
- name: Test
|
||||
run: npm run test
|
||||
run: pnpm test
|
||||
|
@ -3,7 +3,6 @@ import module from '../src/module'
|
||||
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
|
||||
modules: ['@nuxt/content', '@nuxt/fonts', '@nuxtjs/color-mode', module],
|
||||
devtools: { enabled: true },
|
||||
colorMode: {
|
||||
@ -26,12 +25,12 @@ export default defineNuxtConfig({
|
||||
},
|
||||
routeRules: {
|
||||
'/components': { redirect: '/components/button' },
|
||||
}, compatibilityDate: '2024-04-03',
|
||||
},
|
||||
compatibilityDate: '2024-04-03',
|
||||
typescript: {
|
||||
includeWorkspace: true,
|
||||
},
|
||||
rayui: {
|
||||
// @ts-ignore
|
||||
globalComponents: true,
|
||||
safeColors: ['amber', 'emerald', 'red', 'sky', 'violet', 'cyan'],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user