diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8756ce15..0a28dab8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ concurrency: cancel-in-progress: true env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.RPM_NPM_TOKEN }} jobs: test: @@ -54,7 +54,7 @@ jobs: name: Build, Deploy to GitHub pages, Release npm package needs: [test, visual-test] runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') + if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') steps: - name: Checkout uses: actions/checkout@v2 @@ -80,7 +80,7 @@ jobs: ] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.RPM_NPM_TOKEN }} - name: 📃 Deploy uses: JamesIves/github-pages-deploy-action@v4.2.5 with: diff --git a/test/functional/cypress/e2e/visual.cy.ts b/test/functional/cypress/e2e/visual.cy.ts index f4645dfa..66a9dfd4 100644 --- a/test/functional/cypress/e2e/visual.cy.ts +++ b/test/functional/cypress/e2e/visual.cy.ts @@ -24,7 +24,7 @@ function compareSnapshot(zoomLevel: number, side: number) { cy.wait('@modelDownloading'); // wait for the shadow under the avatar to build up with high wait time - cy.wait(20000); + cy.wait(30000); const name = `avatar-zoom-${zoomLevel}-side-[${side}]`;