build(deps-dev): bump eslint-config-prettier in /bot #16
Workflow file for this run
This file contains 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: | |
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@v3 | |
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 |