diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 48c059f..744402a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,3 @@ -# This workflow will do a clean installation of node dependencies, check linting and build -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs - name: Node.js CI on: @@ -17,23 +14,20 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 - name: Install pnpm - - name: Install Node.js uses: actions/setup-node@v4 with: node-version: 22 - cache: 'pnpm' + cache: 'npm' - name: Install dependencies - run: pnpm install + run: npm ci - name: Check Linting - run: pnpm run lint + run: npm run lint - name: Check Format - run: pnpm run format + run: npm run format - name: Playgourd build check - run: pnpm run build + run: npm run build diff --git a/components/blog/Toc.vue b/components/blog/Toc.vue index d036eb9..e64f42c 100644 --- a/components/blog/Toc.vue +++ b/components/blog/Toc.vue @@ -1,6 +1,6 @@ diff --git a/components/main/recent.vue b/components/main/recent.vue index e47da49..650257a 100644 --- a/components/main/recent.vue +++ b/components/main/recent.vue @@ -1,21 +1,42 @@ diff --git a/pages/blogs/index.vue b/pages/blogs/index.vue index b8d772a..3b14182 100644 --- a/pages/blogs/index.vue +++ b/pages/blogs/index.vue @@ -1,7 +1,8 @@