From 89d0b4d1b4b7b0fdcaa21074ac19a6ee8a5667f6 Mon Sep 17 00:00:00 2001 From: arvinxx Date: Sun, 9 Apr 2023 20:02:34 +0800 Subject: [PATCH] :wrench: ci: upgrade pnpm to v8 , ts to v5 --- .github/workflows/release.yml | 6 +++--- .github/workflows/test.yml | 2 +- .npmrc | 1 + package.json | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f73ab1d..0640772 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,12 +17,12 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v2 with: - version: 7 + version: 8 - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '18' - name: Install deps run: pnpm install @@ -40,7 +40,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v2 with: - version: 7 + version: 8 - name: Setup Node.js environment uses: actions/setup-node@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6c69b73..3edee65 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v2 with: - version: 7 + version: 8 - name: Setup Node.js environment uses: actions/setup-node@v3 diff --git a/.npmrc b/.npmrc index 62d8402..89cfc9f 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ lockfile=false +resolution-mode=highest diff --git a/package.json b/package.json index 30b256a..f6e09be 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "semantic-release": "^20", "semantic-release-config-gitmoji": "^1", "stylelint": "^14", - "typescript": "^4", + "typescript": "^5", "vitest": "latest", "zustand": "^4" },