Adds test class for checking query durations #2956
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
# @url https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions | |
name: JavaScript Prettier (run ./bw-dev prettier to fix) | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
name: Lint with Prettier | |
runs-on: ubuntu-20.04 | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it. | |
- uses: actions/checkout@v4 | |
- name: Install modules | |
run: npm install prettier@2.5.1 | |
- name: Run Prettier | |
run: npx prettier --check bookwyrm/static/js/*.js |