Skip to content

Commit

Permalink
Merge branch 'main' into feat/query-and-update
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker authored Jan 15, 2025
2 parents 52ee36d + 073695b commit 2c22d88
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/frontend-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Frontend Tests

on:
pull_request:
paths:
- 'src/frontend/**'

jobs:
tests:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare
uses: ./.github/actions/prepare
- name: Frontend tests
run: npm run test:frontend

may-merge:
needs: ['tests']
runs-on: ubuntu-latest
steps:
- name: Cleared for merging
run: echo OK
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"observatory:statuses": "node scripts/observatory.statuses.mjs",
"clippy": "cargo clippy --target=wasm32-unknown-unknown -- -A deprecated",
"test": "tsc --project tsconfig.spec.json --noEmit && vitest",
"test:frontend": "tsc --project tsconfig.spec.json --noEmit && vitest --dir src/frontend",
"build:console": "scripts/cargo.sh console",
"build:observatory": "scripts/cargo.sh observatory",
"build:satellite": "scripts/cargo.sh satellite",
Expand Down

0 comments on commit 2c22d88

Please sign in to comment.