test(fx): pin loss-sell-no-conversion → divisa 1633/1637 = 0 (#230) #534
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: CI | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| paths-ignore: ['**.md', 'docs/**', 'LICENSE', '.gitignore'] | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: ['**.md', 'docs/**', 'LICENSE', '.gitignore'] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| # Public fork PRs run arbitrary dependency scripts and test code. Keep this | |
| # validation on GitHub-hosted infrastructure, not private self-hosted runners. | |
| runs-on: [self-hosted, Linux, X64] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Type check | |
| run: | | |
| npm run typecheck | |
| npm run typecheck:tests | |
| - name: Lint | |
| run: npm run lint | |
| - name: Test with coverage | |
| run: npm run test:coverage | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v7 | |
| with: | |
| files: coverage/coverage-final.json | |
| fail_ci_if_error: false | |
| - name: Build | |
| run: npm run build | |
| - name: Smoke test CLI package | |
| run: | | |
| test -f dist/cli.js | |
| node dist/cli.js --version | |
| npm pack --dry-run |