Skip to content

Merge autoresearch/quality: eliminate all type quality issues (60 -> 0) #3

Merge autoresearch/quality: eliminate all type quality issues (60 -> 0)

Merge autoresearch/quality: eliminate all type quality issues (60 -> 0) #3

Workflow file for this run

name: Test
on:
pull_request:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
# Only run for pushes or PRs from within the repo (not forks)
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm test
- name: Integration tests
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
FRED_API_KEY: ${{ secrets.FRED_API_KEY }}
run: npm run test:integration