Skip to content

Commit

Permalink
wip: duplicate job for more results
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Jul 28, 2020
1 parent ca2fbf6 commit e1846fb
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/ciBranchPush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,50 @@ jobs:

- name: Cypress - run the rest of Admin app tests
run: yarn cypress run --spec "cypress/integration/admin/**/*.spec.js"

build-test-release-3:
name: Build & test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v2-beta
with:
node-version: 12

- name: Install dependencies
run: yarn --frozen-lockfile

- name: Setup .env.json files
run: yarn setup-env-files:ci

- name: Build packages
run: yarn build

- uses: doitadrian/action-post-run@1.0.0
id: webiny-remove-apps
with:
command: yarn webiny remove apps --env prod

- uses: doitadrian/action-post-run@1.0.0
id: webiny-remove-api
with:
command: yarn webiny remove api --env prod

- name: Deploy API stack
run: yarn webiny deploy api --env prod

- name: Deploy Apps stack
run: yarn webiny deploy apps --env prod

- name: Setup Cypress config
run: yarn setup-cypress

- name: Wait for the site to be deployed...
run: node scripts/waitToDeploy

- name: Cypress - run Admin app installation test
run: yarn cypress run --spec "cypress/integration/adminInstallation/**/*.spec.js"

- name: Cypress - run the rest of Admin app tests
run: yarn cypress run --spec "cypress/integration/admin/**/*.spec.js"

0 comments on commit e1846fb

Please sign in to comment.