Adds Query Components like Top Author and Recently Updated #132
Workflow file for this run
This file contains hidden or 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: Tests | |
on: | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
tests-karma: | |
strategy: | |
matrix: | |
os-version: [ubuntu-latest] | |
node-version: [18.x] | |
runs-on: ${{ matrix.os-version }} | |
steps: | |
- name: Clone Repo | |
uses: actions/[email protected] | |
- name: Prepare java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
- name: Install clojure cli | |
uses: DeLaGuardo/setup-clojure@master | |
with: | |
cli: 1.11.3.1463 | |
- name: Karma Tests ${{ matrix.node-version }} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- run: | | |
npm ci | |
npm run test | |
tests-jsdom: | |
strategy: | |
matrix: | |
os-version: [ubuntu-latest] | |
node-version: [18.x] | |
runs-on: ${{ matrix.os-version }} | |
steps: | |
- name: Clone Repo | |
uses: actions/[email protected] | |
- name: Prepare java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
- name: Install clojure cli | |
uses: DeLaGuardo/setup-clojure@master | |
with: | |
cli: 1.11.3.1463 | |
- name: JSDOM Tests ${{ matrix.node-version }} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- run: | | |
npm ci | |
npm run test:node | |
check-lint: | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
runs-on: ${{ matrix.operating-system }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install clojure cli | |
uses: DeLaGuardo/setup-clojure@master | |
with: | |
cli: 1.11.3.1463 | |
- name: Setup clojure-lsp | |
uses: clojure-lsp/[email protected] | |
with: | |
clojure-lsp-version: 2024.03.13-13.11.00 | |
- name: Execute lint checks | |
run: | | |
clojure-lsp format --dry | |
clojure-lsp clean-ns --dry | |
clojure-lsp diagnostics |