Fix bug: undefined query when add new query after published app/module #1710
This file contains hidden or 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: Client | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- 'client/**' | |
- '.github/workflows/client.yml' | |
permissions: | |
contents: read | |
jobs: | |
build-client: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 20.x ] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
cache-dependency-path: 'client/yarn.lock' | |
- name: Install dependencies | |
uses: borales/[email protected] | |
with: | |
cmd: install | |
dir: client | |
- name: Run tests | |
uses: borales/[email protected] | |
with: | |
cmd: build | |
dir: client |