Skip to content

build(deps-dev): bump @typescript-eslint/parser in /bot #55

build(deps-dev): bump @typescript-eslint/parser in /bot

build(deps-dev): bump @typescript-eslint/parser in /bot #55

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- 'gh-pages'
paths:
- '**.js'
- '**.mjs'
- '**.ts'
- '**.sql'
- '**.rs'
- '.github/workflows/ci.yml' # This file
- 'bot/requirements.txt' # Sqlfluff version
- 'bot/package.json' # Test script or dependency versions
- 'bot/tsconfig.json' # TypeScript configuration
- 'bot/.eslintrc.json' # ESLint rules
- 'bot/.sqlfluff' # SQLFluff rules
- 'clippy.toml' # Clippy rules
workflow_dispatch: # Allow triggering manually
jobs:
check:
name: Build and run tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
fail-fast: true
max-parallel: 2
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Use python
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
- run: pip install -r bot/requirements.txt
- name: npm install
run: npm ci
env:
CI: true
- name: Build
run: npm run build --if-present --workspace bot
- name: Test
run: npm test --workspace bot