Add guidedEventsEnabled flag to schema #552
Workflow file for this run
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
name: Alloy Reactor Extension | |
on: | |
push: | |
workflow_dispatch: | |
env: | |
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} | |
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} | |
SAUCE_JOB: "Alloy Reactor Extension" | |
SAUCE_CAPABILITIES_OVERRIDES_PATH: 'sauceLabsCapabilities.json' | |
EDGE_E2E_PRIVATE_KEY_CONTENTS: ${{ secrets.EDGE_E2E_PRIVATE_KEY_CONTENTS }} | |
EDGE_E2E_CLIENT_SECRET: ${{ secrets.EDGE_E2E_CLIENT_SECRET }} | |
REACTOR_IO_INTEGRATION_PRIVATE_KEY_CONTENTS: ${{ secrets.REACTOR_IO_INTEGRATION_PRIVATE_KEY_CONTENTS }} | |
REACTOR_IO_INTEGRATION_CLIENT_SECRET: ${{ secrets.REACTOR_IO_INTEGRATION_CLIENT_SECRET }} | |
jobs: | |
unit-test: | |
name: "Unit Test" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- uses: saucelabs/[email protected] | |
with: | |
username: ${{ secrets.SAUCE_USERNAME }} | |
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} | |
tunnelName: ${{ github.job }} | |
- name: Run Unit Test | |
run: npx karma start karma.saucelabs.conf.js --single-run | |
env: | |
BUILD_NUMBER: ${{ github.run_number }} | |
BUILD_ID: ${{ github.run_id }} | |
JOB_NUMBER: ${{ github.job }} | |
functional-test: | |
name: "Functional Test" | |
needs: unit-test | |
strategy: | |
max-parallel: 4 | |
matrix: | |
browsers: | |
[ | |
"test:functional:saucelabs:chrome", | |
"test:functional:saucelabs:firefox", | |
"test:functional:saucelabs:edge", | |
"test:functional:saucelabs:safari" | |
] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/[email protected] | |
id: npm-cache | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}-${{ secrets.NPM_CACHE_VERSION }} # increment NPM_CACHE_VERSION secret to force cache reset | |
- name: Install node packages | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Retrieve Token | |
run: npm run token | |
- name: Run Functional Test | |
timeout-minutes: 60 | |
run: npm run ${{ matrix.browsers }} | |
env: | |
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} | |
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} | |
EDGE_E2E_PRIVATE_KEY_CONTENTS: ${{ secrets.EDGE_E2E_PRIVATE_KEY_CONTENTS }} | |
EDGE_E2E_CLIENT_SECRET: ${{ secrets.EDGE_E2E_CLIENT_SECRET }} | |