diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index ff277a86f6..693a5ad265 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -17,6 +17,12 @@ jobs: steps: - uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' # 或者您需要的其他版本 + - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)"