Add renovate.json #99
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
on: ['push'] | |
name: Test Coveralls | |
jobs: | |
react-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out git repository | |
uses: actions/checkout@v1 | |
- name: install node, npm, and yarn | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- name: install, test | |
run: | | |
yarn | |
yarn test:ci | |
- name: coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
flag-name: run-react-test | |
parallel: true | |
spectron: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out git repository | |
uses: actions/checkout@v1 | |
- name: install node.js, NPM and Yarn | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- name: yarn | |
run: yarn install --network-timeout 1000000 # allows to run without network error | |
- name: build application | |
run: yarn build:github | |
env: | |
REACT_APP_GRAASP_API_HOST: ${{secrets.REACT_APP_GRAASP_API_HOST}} | |
REACT_APP_GRAASP_HOST: ${{secrets.REACT_APP_GRAASP_HOST}} | |
REACT_APP_SHOW_NOTIFICATIONS: false | |
- name: spectron | |
run: xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' yarn mocha:coverage | |
- name: coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
flag-name: run-spectron | |
parallel: true | |
finish: | |
needs: [spectron, react-test] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Coveralls Finished | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
parallel-finished: true |