diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..f3dc3fa --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,4 @@ +template: | + ## Changes since last release + + $CHANGES diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d73e6aa..be815be 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,32 +1,22 @@ -name: E2E Tests - -on: [push] - +name: E2E on Chrome +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: - build: - + cypress-run: runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [10.x, 12.x] - + # let's make sure our tests pass on Chrome browser + name: E2E on Chrome steps: - - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: npm install, build, and start - run: | - npm install - npm run build --if-present - npm start & - - name: flow - run: | - npm run flow - - name: cypress - run: | - npm run cypress:run - env: - CI: true + - name: Checkout + uses: actions/checkout@v1 + - name: Cypress run + uses: cypress-io/github-action@v1 + with: + build: yarn run build + start: yarn run start + browser: chrome \ No newline at end of file