diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 883f310..f1339d0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,30 +1,30 @@ name: Run Cypress tests on: push: pull_request: workflow_dispatch: jobs: test: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Setup npm cache uses: actions/cache@v2 with: path: '~/.npm' key: ${{ runner.os }}-node restore-keys: | ${{ runner.os }}-node - name: Install Cypress run: | npm install cypress - $(npm bin)/cypress install + npm run cypress install - name: Run Cypress run: | - $(npm bin)/cypress run + npm run cypress run