diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 0f429db..929b38a 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -29,17 +29,17 @@ jobs: strategy: matrix: node-version: [ 16.x ] - neo4j-version: [ "3.5", "3.5-enterprise", "4.4", "4.4-enterprise" ] + neo4j-version: [ "4.4", "4.4-enterprise", "5", "5-enterprise" ] services: neo4j: image: neo4j:${{ matrix.neo4j-version }} ports: [ "7687:7687" ] env: NEO4J_ACCEPT_LICENSE_AGREEMENT: yes - NEO4J_AUTH: "neo4j/abcde" + NEO4J_AUTH: "neo4j/abcdefghi" options: >- --name neo4j-e2e - --health-cmd "cypher-shell -u neo4j -p abcde 'RETURN 1'" + --health-cmd "cypher-shell -u neo4j -p abcdefghi 'RETURN 1'" --health-interval 10s --health-timeout 5s --health-start-period 10s @@ -47,13 +47,9 @@ jobs: --volume /tmp:/movies steps: - name: Download dataset - run: curl --fail --output /tmp/movies.cypher https://raw.githubusercontent.com/neo4j-graph-examples/movies/8508a527d8aa1c261b0978d1d5b3156d4ac8328e/scripts/import.cypher - - name: Import dataset (Neo4j 3.5) - if: ${{ startsWith(matrix.neo4j-version, '3.5') }} - run: docker exec --interactive neo4j-e2e sh -c 'cat /movies/movies.cypher | cypher-shell -u neo4j -p abcde' + run: curl --fail --output /tmp/movies.cypher https://raw.githubusercontent.com/neo4j-graph-examples/movies/7e75003d2d32bf42ef9c740d1321a310fac1d1a6/scripts/movies.cypher - name: Import dataset - if: ${{ !startsWith(matrix.neo4j-version, '3.5') }} - run: docker exec --interactive neo4j-e2e cypher-shell -u neo4j -p abcde --file /movies/movies.cypher + run: docker exec --interactive neo4j-e2e cypher-shell -u neo4j -p abcdefghi --file /movies/movies.cypher - name: Check out project sources uses: actions/checkout@v4 - name: Install dependencies @@ -70,7 +66,7 @@ jobs: NEO4J_URI: bolt://localhost NEO4J_DATABASE: "neo4j" NEO4J_USER: neo4j - NEO4J_PASSWORD: abcde + NEO4J_PASSWORD: abcdefghi with: working-directory: e2e browser: chrome