ci: setup pnpm from corepack config to avoid flaky lockfile (#1258)

This commit is contained in:
LongYinan authored and GitHub committed 2023-03-02 18:21:55 +08:00
1 parent a4892e5992
commit 6138fefa9e
8 files changed
+21 -47

No files matched your search

+3 -5
View File
@@ -23,13 +23,11 @@ jobs:
environment: development
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 'latest'
- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://npm.pkg.github.com
@@ -98,7 +96,7 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Download artifact
uses: actions/download-artifact@v3