Skip to content

bump pre-release version to 1.13.26 #2821

bump pre-release version to 1.13.26

bump pre-release version to 1.13.26 #2821

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
env:
NODE_OPTIONS: '--max_old_space_size=8192'
jobs:
build:
name: Setup and build project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-and-build
- name: Check the TextMate grammar is up to date
run: |
(git diff-index --name-status HEAD | grep "cypher.json" && (echo "Run pnpm build and commit an up to date cypher.json file please" && exit 1)) || echo "\n\nTextMate grammar is up to date"
lint-and-format:
name: Run eslint and check formatting
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-and-build
- name: Check there are no linting errors
run: pnpm lint
- name: List files that have not been formatted properly
run: |
pnpm format
(git diff-index --name-status HEAD | grep ".*\.ts" && exit 1) || echo "\n\nAll Typescript files are correctly formatted"
unit-test:
name: Unit tests
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-and-build
- name: Run tests
run: pnpm test
test-polling:
name: Polling integration tests
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-and-build
- name: Run tests
run: pnpm --filter @neo4j-cypher/query-tools test:polling
firefox-react-codemirror-e2e-test:
name: Firefox React Codemirror E2E tests
needs: build
timeout-minutes: 30
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-and-build
- uses: ./.github/actions/codemirror-e2e-tests
with:
browser: firefox
chromium-react-codemirror-e2e-test:
name: Chromium React Codemirror E2E tests
needs: build
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-and-build
- uses: ./.github/actions/codemirror-e2e-tests
with:
browser: chromium
vscode-webview-test:
name: VSCode Webview tests
needs: build
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-and-build
- name: Run e2e test
# We need a graphics server to run integration tests with VSCode
run: xvfb-run -a pnpm --filter neo4j-for-vscode test:webviews
vscode-api-and-unit-tests:
name: VSCode API and Unit tests
needs: build
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-and-build
- name: Run tests
run: xvfb-run -a pnpm --filter neo4j-for-vscode test:apiAndUnit