fix(ci): missing pnpm on check api action (#10778)

* ci: fix missing pnpm on check api action

* Add set up node action
This commit is contained in:
Tony 2024-08-26 20:12:24 +08:00 committed by GitHub
parent 073bb4f459
commit 12e477ac38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -45,6 +45,11 @@ jobs:
if: needs.changes.outputs.api == 'true'
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'pnpm'
- name: build api
working-directory: tooling/api