Skip to content

allow ci action to use secrets for neo4j access #3

allow ci action to use secrets for neo4j access

allow ci action to use secrets for neo4j access #3

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
env:
NEO4J_USER: ${{ secrets.NEO4J_USER }}
NEO4J_PASSWORD: ${{ secrets.NEO4J_PASSWORD }}
NEO4J_ENDPOINT: ${{ secrets.NEO4J_ENDPOINT }}
run: npm test