chore(deps): bump @awsui/components-react from 3.0.889 to 3.0.1384 #2008
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: End-to-end tests | |
on: [pull_request] | |
jobs: | |
build-lint-unit-test: | |
runs-on: ubuntu-20.04 # pin ubuntu for no snapshot variance | |
env: | |
FORCE_COLOR: true # force colored output from yarn | |
steps: | |
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." | |
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" | |
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '16.17.1' | |
# cache: 'yarn' // uncomment after adding yarn.lock | |
- name: Install dependencies | |
run: yarn | |
- name: Run Build | |
run: yarn build | |
- name: Run lint | |
run: yarn lint | |
- name: Run unit tests | |
run: yarn test | |
integ-tests: | |
runs-on: ubuntu-20.04 # pin ubuntu for no snapshot variance | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '14.x' | |
- name: Install dependencies | |
run: yarn | |
- name: cypress run | |
uses: cypress-io/github-action@v6 | |
with: | |
start: yarn start | |
wait-on: 'http://localhost:3333' | |
command: yarn test:cypress | |
working-directory: packages/iot-app-kit-visualizations | |
# after the test run completes | |
# store videos and any screenshots | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: cypress-screenshots | |
path: packages/iot-app-kit-visualizations/cypress/screenshots | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: cypress-videos | |
path: packages/iot-app-kit-visualizations/cypress/videos | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: cypress-snapshots | |
path: packages/iot-app-kit-visualizations/cypress/snapshots |