chore: add cucumber-official extension to devcontainer for DevPod test #222
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: Kata E2E UUV CI | |
on: | |
push: | |
branches: [ "**" ] | |
env: | |
NODE_VERSION: 18.14.0 | |
jobs: | |
test-e2e: | |
runs-on: ubuntu-latest | |
container: | |
image: cypress/browsers:node18.12.0-chrome107 | |
environment: | |
name: production | |
url: https://e2e-test-quest.github.io/kata-e2e-uuv/${{ github.ref == 'refs/heads/main' && '/' || github.ref_name }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{env.NODE_VERSION}} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{env.NODE_VERSION}} | |
- name: Install Dependencies | |
run: npm ci | |
shell: bash | |
- name: Run E2E tests | |
run: npx uuv e2e --generateHtmlReport --generateJunitReport | |
shell: bash | |
- name: Test Report | |
uses: dorny/test-reporter@v1 | |
if: success() || failure() | |
with: | |
name: Report - E2E Tests | |
path: uuv/reports/e2e/junit-report.xml | |
reporter: java-junit | |
- uses: actions/upload-artifact@v4 | |
if: ${{ always() }} | |
with: | |
name: uuv-test-report | |
path: ./uuv/reports/e2e/html/ | |
- name: Deploy to Github page | |
if: ${{ always() }} | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./uuv/reports/e2e/html/ | |
destination_dir: ${{ github.ref == 'refs/heads/main' && '.' || github.ref_name }} |