Bump eslint-plugin-jsdoc from 46.10.1 to 50.6.0 #652
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Tests | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
jobs: | |
integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 'stable' | |
- name: Build backend | |
uses: magefile/mage-action@v3 | |
with: | |
args: buildAll | |
version: latest | |
- name: Install frontend dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build frontend | |
run: yarn build | |
env: | |
NODE_OPTIONS: '--max_old_space_size=4096' | |
# run the default compose file for the latest version of SurrealDB | |
- if: matrix.surreal-version == 'latest' | |
name: Install and run Docker Compose | |
uses: hoverkraft-tech/compose-action@v2.0.2 | |
with: | |
compose-file: './compose.yaml' | |
# run the v1 compose file for SurrealDB 1.5.4 | |
- if: matrix.surreal-version == '1.5.4' | |
name: Install and run Docker Compose | |
uses: hoverkraft-tech/compose-action@v2.0.2 | |
with: | |
compose-file: './compose-v1.yaml' | |
- name: Run integration tests | |
# sleep for 30 seconds to allow the data to be loaded into the database | |
run: sleep 30 && go test -v ./tests/integration/** | |
strategy: | |
matrix: | |
surreal-version: [ | |
# TODO: re-enable this step when the 2.0 is supported | |
# 'latest', | |
'1.5.4', | |
] | |
timeout-minutes: 60 |