Skip to content

Commit

Permalink
Merge branch 'main' into update-rspack-0-3-8
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Oct 25, 2023
2 parents 42d32f6 + 0169e4e commit bd83344
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/type-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,23 @@ jobs:
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: echo "$RUNNER_CONTEXT"

- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Install Pnpm
run: corepack enable
uses: pnpm/action-setup@v2

- name: Show Pnpm Version
run: pnpm -v

- name: Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'

- name: Check skip CI
run: echo "RESULT=$(node ./scripts/skipCI.js)" >> "$GITHUB_OUTPUT"
Expand All @@ -32,12 +42,6 @@ jobs:
- name: Log skip CI result
run: echo "${{steps.skip-ci.outputs.RESULT}}"

- name: Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: "18"
cache: 'pnpm'

- name: Nx Cache
id: nx-cache
if: ${{steps.skip-ci.outputs.RESULT != 'true'}}
Expand Down

0 comments on commit bd83344

Please sign in to comment.