fix: handle pnpm frozen-lockfile in CI for optimize command #3756
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: Type Checks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| type-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - uses: SocketDev/socket-cli/.github/actions/setup@6f2ee2a68551ced5ffab8ae144bdd74067b62529 | |
| with: | |
| node-version: '22' | |
| - name: Run type check | |
| run: pnpm run check:tsc |