From 5c212d019fbffddbcf7f3338ef152f09e694d274 Mon Sep 17 00:00:00 2001 From: cipchk Date: Sun, 31 Dec 2023 21:05:50 +0800 Subject: [PATCH] ci: adjust run order --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ebaaa6d1e..ced5c2443 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,18 +13,18 @@ jobs: with: node-version-file: '.nvmrc' cache: 'yarn' - - uses: actions/cache@v3 - with: - path: ./node_modules - key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock', '**/*.patch') }} - - name: Install node modules - run: yarn install --frozen-lockfile - name: Comment on github run: node ./scripts/github/comment.js "[Preview Preparing...](https://github.com/ng-alain/delon/actions/runs/${{ github.run_id }})" env: ACCESS_REPO: ${{ github.repository }} ACCESS_TOKEN: ${{ secrets.CI_TOKEN }} PR_NUMBER: ${{ steps.findPr.outputs.pr }} + - uses: actions/cache@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock', '**/*.patch') }} + - name: Install node modules + run: yarn install --frozen-lockfile - name: Build artifacts run: ./scripts/ci/build-artifacts.sh env: