feat: add new listing #331
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: Pull Request | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| NODE_VERSION: 22 | |
| PROVIDER_URL: ${{ secrets.PROVIDER_URL }} | |
| jobs: | |
| checks: | |
| # Skip CI for draft PRs since this workflow is triggered once its review for review | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-22.04 | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: "npm" | |
| cache-dependency-path: package-lock.json | |
| - name: Install dependencies | |
| run: npm ci --ignore-scripts --prefer-offline --no-audit --no-fund | |
| # Run build script to generate `/generated` dir which is needed by ts:check and test scripts | |
| - name: TypeScript build | |
| run: npm run ts:build | |
| - name: Run linter | |
| run: npm run lint | |
| - name: Check types and typescript | |
| run: npm run ts:check | |
| - name: Run tests | |
| run: npm run test |