Browse Source

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

* ci: fix missing pnpm on check api action

* Add set up node action
Tony 1 năm trước cách đây
mục cha
commit
12e477ac38
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      .github/workflows/check-generated-files.yml

+ 5 - 0
.github/workflows/check-generated-files.yml

@@ -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