From 4c0aeffc1e37e177d24291e9434a80a051e9e301 Mon Sep 17 00:00:00 2001 From: Kuizuo Date: Fri, 17 Nov 2023 14:45:17 +0800 Subject: [PATCH] ci: update --- .github/workflows/ci.yml | 29 +++++------------------------ pnpm-lock.yaml | 3 --- 2 files changed, 5 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50854c3..00ea705 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,33 +31,17 @@ jobs: strategy: matrix: - os: [ubuntu-latest] - node_version: [18, lts/*] - include: - - os: macos-latest - node_version: lts/* - - os: windows-latest - node_version: lts/* + os: [ubuntu-latest, windows-latest] + node: [18] fail-fast: false steps: - - name: Set git to use LF - run: | - git config --global core.autocrlf false - git config --global core.eol lf - - uses: actions/checkout@v3 - - name: Install pnpm - uses: pnpm/action-setup@v2 - - - name: Set node ${{ matrix.node_version }} + - name: Set node ${{ matrix.node }} uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node_version }} - cache: pnpm - - - run: corepack enable + node-version: ${{ matrix.node }} - name: Setup run: npm i -g @antfu/ni @@ -66,7 +50,4 @@ jobs: run: nci - name: Build - run: nr website:build - - - name: Test - run: nr test \ No newline at end of file + run: nr website:build \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 88eafe3..e36023d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,9 +54,6 @@ importers: typescript: specifier: ^5.2.2 version: 5.2.2 - vitest: - specifier: ^0.18.0 - version: 0.18.1 play: devDependencies: