Initial yaml change

This commit is contained in:
Steve Faulkner 2020-06-01 18:27:33 -05:00
parent a6c44e0e69
commit 82f7e0d4d1
1 changed files with 26 additions and 0 deletions

View File

@ -67,6 +67,32 @@ jobs:
EMULATOR_ENDPOINT: https://0.0.0.0:8081/
NODE_TLS_REJECT_UNAUTHORIZED: 0
CYPRESS_CACHE_FOLDER: ~/.cache/Cypress
endtoendprodcassandra:
name: "End to End Tests Prod"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Restore Cypress Binary Cache
uses: actions/cache@v2
with:
path: ~/.cache/Cypress
key: ${{ runner.os }}-cypress-binary-cache
- name: End to End Tests
run: |
npm ci
npm start &
npm ci --prefix ./cypress
npm run test --prefix ./cypress
shell: bash
env:
EMULATOR_ENDPOINT: https://0.0.0.0:8081/
NODE_TLS_REJECT_UNAUTHORIZED: 0
CYPRESS_CACHE_FOLDER: ~/.cache/Cypress
CONNECTION_STRING: ${{ secrets.CASSANDRA_CONNECTION_STRING }}
nuget:
name: Publish Nuget
needs: [build, test, endtoend]