fix(module-tools): put terser at the end of renderChunk to ensure minify #10197
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Type Check | |
on: | |
pull_request: | |
branches: [main] | |
merge_group: | |
workflow_dispatch: | |
jobs: | |
type-check: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [18.x] | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 25 | |
- name: Install Pnpm | |
run: corepack enable | |
- name: Check skip CI | |
run: echo "RESULT=$(node ./scripts/skipCI.js)" >> "$GITHUB_OUTPUT" | |
id: skip-ci | |
- name: Log skip CI result | |
run: echo "${{steps.skip-ci.outputs.RESULT}}" | |
- name: Setup Node.js ${{ matrix.node-version }} | |
if: ${{steps.skip-ci.outputs.RESULT != 'true'}} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- name: Nx Cache | |
id: nx-cache | |
if: ${{steps.skip-ci.outputs.RESULT != 'true'}} | |
uses: actions/cache@v3 | |
with: | |
path: .nx-cache | |
key: nx-${{ github.base_ref }}-${{ github.ref_name }}-${{ github.sha }} | |
restore-keys: | | |
nx-${{ github.base_ref }}-${{ github.ref_name }}- | |
nx-${{ github.base_ref }}- | |
nx- | |
- name: Install Dependencies | |
if: ${{steps.skip-ci.outputs.RESULT != 'true'}} | |
run: pnpm install --ignore-scripts --frozen-lockfile | |
- name: Type Check | |
if: ${{steps.skip-ci.outputs.RESULT != 'true'}} | |
run: pnpm run prepare |