diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d91d46d..f38fad9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,14 +17,15 @@ jobs: - name: Check out repository uses: actions/checkout@v3 - - name: Setup PNPM - uses: pnpm/action-setup@v2.2.1 + - name: Install pnpm + uses: pnpm/action-setup@v3 + with: + version: 9 - - name: Setup Node - uses: actions/setup-node@v3 + - name: Use Node.js + uses: actions/setup-node@v4 with: - node-version: 16 - cache: "pnpm" + node-version: 20 - name: Install dependencies run: pnpm install diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ff45d0f..594ff09 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,16 +28,15 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} SIMSUSTECH_NPM_TOKEN: ${{ secrets.SIMSUSTECH_NPM_TOKEN }} - - name: Setup PNPM - uses: pnpm/action-setup@v2.2.1 + - name: Install pnpm + uses: pnpm/action-setup@v3 + with: + version: 9 - - name: Setup Node - uses: actions/setup-node@v3 + - name: Use Node.js + uses: actions/setup-node@v4 with: - node-version: 16 - cache: 'pnpm' - registry-url: 'https://npm.simsus.tech' - scope: '@simsustech' + node-version: 20 - name: Install dependencies run: pnpm install