This repository was archived by the owner on Dec 13, 2025. It is now read-only.
Update dependencies for React Flight RCE advisory #88
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches-ignore: | |
| - main | |
| jobs: | |
| lint-and-prettier: | |
| name: Lint & Prettier | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [22.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm lint | |
| - run: pnpm prettier | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| needs: [lint-and-prettier] | |
| strategy: | |
| matrix: | |
| node-version: [22.x] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: pnpm/action-setup@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: pnpm | |
| - run: corepack enable | |
| - run: corepack prepare --activate | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm build | |
| lighthouse: | |
| # 임시막기 | |
| if: false | |
| name: Lighthouse CI | |
| runs-on: ubuntu-latest | |
| needs: [build] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: pnpm/action-setup@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| - run: corepack enable | |
| - run: corepack prepare --activate | |
| - name: install & build | |
| run: | | |
| pnpm install --frozen-lockfile | |
| pnpm build | |
| - name: run Lighthouse CI | |
| run: | | |
| npm install -g @lhci/[email protected] | |
| lhci autorun | |
| env: | |
| LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} |