Query Editor refactor #794
Workflow file for this run
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: run-frontend-tests | |
on: | |
push: | |
branches: | |
- v1 | |
- main | |
pull_request: | |
branches: | |
- v1 | |
- main | |
schedule: | |
- cron: '0 9 1 * *' | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
go: | |
- '1.20.x' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup packages | |
id: setup-packages | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y zip zstd jq git | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install Go ${{ matrix.go }} | |
uses: actions/[email protected] | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Install yarn dependencies | |
run: yarn install | |
env: | |
NODE_OPTIONS: '--max_old_space_size=4096' | |
- name: Build | |
run: go build -v ./... | |
- name: Build Frontend | |
run: yarn build | |
env: | |
NODE_OPTIONS: '--max_old_space_size=4096' |