Skip to content

Make TypeScript configuration stricter and fix Vega-Lite types #8

Make TypeScript configuration stricter and fix Vega-Lite types

Make TypeScript configuration stricter and fix Vega-Lite types #8

Workflow file for this run

name: CI
on:
push:
branches: [ main, openhands-workspace ]
pull_request:
branches: [ main, openhands-workspace ]
jobs:
verify:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linting
run: npm run lint
- name: Run type checking
run: npm run typecheck
- name: Run tests
run: npm test
env:
CI: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build verification
run: npm run build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/
retention-days: 7