Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: 2.1
orbs:
rust: circleci/rust@1.6.2
node: circleci/node@7.0.0
executors:
docker-publisher:
docker:
Expand Down Expand Up @@ -106,6 +107,21 @@ jobs:
name: Test Glados workspace
# Add postgresql bin to the PATH and then run the tests.
command: PATH=$PATH:$(find /usr/lib/postgresql/ -type d -name "bin") cargo test --workspace -- --nocapture
lint-js:
description: |
Check javascript linting with Prettier.
resource_class: small
executor:
name: node/default
tag: 22.9.0
steps:
- checkout
- run:
name: Install prettier
command: sudo npm install -g prettier@3.3.3
- run:
name: Test js files with prettier
command: prettier -c glados-web/assets/js "!glados-web/assets/js/lib/*"
workflows:
merge-test:
jobs:
Expand All @@ -126,3 +142,4 @@ workflows:
branches:
only: master
- lint-build-test
- lint-js
File renamed without changes.
2 changes: 1 addition & 1 deletion glados-web/assets/js/audit_block_status.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Spinner } from "./spin.js";
import { Spinner } from "./lib/spin.js";

const BASE_URL = "/api/audit-block-status/";
const GENESIS_TIMESTAMP = "2015-07-30T15:26:13Z";
Expand Down
Loading