diff --git a/.github/workflows/currents.yml b/.github/workflows/currents.yml index a709784..2dd285a 100644 --- a/.github/workflows/currents.yml +++ b/.github/workflows/currents.yml @@ -22,12 +22,11 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18 - cache: "yarn" # Install Currents - name: Install dependencies run: | - yarn install --frozen-lockfile + npm ci # Run all Cypress tests - name: Run Cypress on Currents.dev diff --git a/package.json b/package.json index 7844235..03b6aa9 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "", "main": "index.js", "scripts": { + "currents:custom": "npx cypress install --force && npx currents run", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [],