Skip to content

Enhancement proposal/user auth uncheck default stduser #336

Enhancement proposal/user auth uncheck default stduser

Enhancement proposal/user auth uncheck default stduser #336

Workflow file for this run

name: Unit tests
on:
pull_request:
schedule:
- cron: '0 2 * * *'
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Deploy rancher head
run: npm run start-rancher
- name: Build package from the current branch
run: npm run build-npm
- name: Run e2e tests
run: npm run start-unit-tests
- name: Upload Cypress screenshots
if: failure()
uses: actions/upload-artifact@v3
with:
name: cypress-screenshots-basics-unit-tests
path: cypress/screenshots
retention-days: 7
if-no-files-found: ignore
- name: Upload Cypress videos
# Test run video is always captured, so this action uses "always()" condition
if: always()
uses: actions/upload-artifact@v3
with:
name: cypress-videos-basics-unit-tests
path: cypress/videos
retention-days: 7