gitops write child resources #956
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: ui tests | |
on: | |
pull_request: | |
paths: | |
- "cyclops-ui/**" | |
push: | |
paths: | |
- "cyclops-ui/**" | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
- name: Install dependencies | |
env: | |
NODE_OPTIONS: "--dns-result-order=ipv4first" | |
run: | | |
cd ${{ github.workspace }}/cyclops-ui | |
yarn install --network-timeout 60000 | |
- name: Run tests | |
run: | | |
cd ${{ github.workspace }}/cyclops-ui | |
yarn test | |
- name: Build | |
run: | | |
cd ${{ github.workspace }}/cyclops-ui | |
yarn build |