Fix close factor #58
Workflow file for this run
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: Scripts | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - perps | |
| pull_request: | |
| jobs: | |
| coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 # Required for coverage comparison | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '18' | |
| cache: 'yarn' | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '18' | |
| cache: 'yarn' # Specify yarn for caching | |
| - name: Install Dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Run Tests | |
| run: yarn test | |
| - name: Check Coverage | |
| run: yarn test:coverage | |
| - name: Check Formatting | |
| run: yarn format:check |