PR-421183: Adding Cypress and updating packages.

This commit is contained in:
2023-03-02 07:57:42 -06:00
parent f3f0095674
commit a4dcc2c391
18 changed files with 2832 additions and 437 deletions

View File

@ -14,7 +14,18 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm test
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v5.x.x # use the explicit version number
with:
build: npm run build
start: npm start
publish-npm:
needs: build
runs-on: ubuntu-latest

View File

@ -20,6 +20,18 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm test
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v5.x.x # use the explicit version number
with:
build: npm run build
start: npm start
test-build-package:
needs: test
runs-on: ubuntu-latest