mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-20 22:00:43 +08:00
Add smoke check for production builds
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
@@ -12,3 +12,10 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- name: Cypress run
|
||||
uses: cypress-io/github-action@v4
|
||||
with:
|
||||
browser: chrome
|
||||
start: npm run serve
|
||||
wait-on: "http://localhost:4173"
|
||||
command: npx cypress run --config baseUrl="http://localhost:4173" --spec 'cypress/e2e/home.spec.ts'
|
||||
|
||||
Reference in New Issue
Block a user