Skip to content

Commit

Permalink
Add e2e tests to release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: ameenasuhani <[email protected]>
  • Loading branch information
Ameenasuhani committed Nov 23, 2023
1 parent 00a8465 commit 8b7e4e5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,28 @@ jobs:
exit 1
fi
frontend-e2e-test:
runs-on: ubuntu-latest

steps:
- name: Checkout s3gw UI
uses: actions/checkout@v3

- name: Set up node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
cache-dependency-path: ui/src/frontend/package-lock.json

- name: Install Dependencies
working-directory: ui/src/frontend
run: npm ci

- name: Run Unit Tests
working-directory: ui/src/frontend
run: npm run e2e:ci

# Build and push the ui container
build-s3gw-ui-container:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8b7e4e5

Please sign in to comment.