From 3909be97a1c5dfcd64ed2f2062602a2402e16364 Mon Sep 17 00:00:00 2001 From: "s.jovanoski" Date: Mon, 1 Jan 2024 15:02:27 +0100 Subject: [PATCH] task: action against solr 9 --- .github/workflows/nodejs.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 996481b0..dc0ddea0 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -4,9 +4,7 @@ on: [push,pull_request] jobs: build: - runs-on: ubuntu-latest - services: solr: image: solr:9 @@ -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: