Skip to content

Commit

Permalink
task: action against solr 9
Browse files Browse the repository at this point in the history
  • Loading branch information
s.jovanoski committed Jan 1, 2024
1 parent ed0a72f commit 3909be9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ on: [push,pull_request]

jobs:
build:

runs-on: ubuntu-latest

services:
solr:
image: solr:9
Expand All @@ -21,12 +19,15 @@ jobs:
matrix:
node-version: [18.x]
steps:
- name: Copy configsets
run: docker exec -it $(docker ps -q --filter ancestor=solr:9) cp -rf /opt/solr/server/solr/configsets /var/solr/data/configsets
- name: Start Solr
run: docker exec -it $(docker ps -q --filter ancestor=solr:9) solr-foreground
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: 'bash -e -c "cp -rf /opt/solr/server/solr/configsets /var/solr/data/configsets;"'
- run: npm install
- run: npm run coverage
env:
Expand Down

0 comments on commit 3909be9

Please sign in to comment.