dont test before publish
This commit is contained in:
parent
29e68512f4
commit
d1e658adee
2 changed files with 10 additions and 10 deletions
18
.github/workflows/publish.yml
vendored
18
.github/workflows/publish.yml
vendored
|
|
@ -13,15 +13,15 @@ jobs:
|
|||
run: npm i -g pnpm
|
||||
- run: pnpm install
|
||||
- run: pnpm build
|
||||
- uses: cypress-io/github-action@v5
|
||||
with:
|
||||
install: false
|
||||
start: pnpm prod-start
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: failure()
|
||||
with:
|
||||
name: cypress-images
|
||||
path: cypress/integration/__image_snapshots__/
|
||||
# - uses: cypress-io/github-action@v5
|
||||
# with:
|
||||
# install: false
|
||||
# start: pnpm prod-start
|
||||
# - uses: actions/upload-artifact@v3
|
||||
# if: failure()
|
||||
# with:
|
||||
# name: cypress-images
|
||||
# path: cypress/integration/__image_snapshots__/
|
||||
- uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ it('Loads & renders singleplayer', () => {
|
|||
// todo replace with data-test
|
||||
cy.get('#title-screen').find('.menu > div:nth-child(2) > pmui-button:nth-child(1)', { includeShadowDom: true, }).click()
|
||||
// todo implement load event
|
||||
cy.wait(8000)
|
||||
cy.wait(12000)
|
||||
//@ts-ignore
|
||||
cy.get('body').toMatchImageSnapshot({
|
||||
// imageConfig: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue