Skip to content

Update dependencies #337

Update dependencies

Update dependencies #337

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: "14.x"
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build and test frontend
run: yarn build
- name: Setup Go environment
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Test backend
uses: magefile/mage-action@v3
with:
version: latest
args: coverage
- name: Build backend
uses: magefile/mage-action@v3
with:
version: latest
args: buildAll
- name: End to end test
run: |
docker network create trino
docker run \
--rm --detach \
--name trino \
--net trino \
trinodb/trino:468
docker run \
--rm --detach \
--name grafana \
--net trino \
--publish 3000:3000 \
--volume "$(pwd):/var/lib/grafana/plugins/trino" \
--env "GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=trino-datasource" \
grafana/grafana:11.4.0
npx tsc -p tsconfig.json --noEmit
npx playwright install
npx playwright test