diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index a2cc62d..cf808f3 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -19,12 +19,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - uses: actions/setup-node@v3 # Install NPM dependencies, cache them correctly # and run all Cypress tests - name: Cypress run uses: cypress-io/github-action@v5 # use the explicit version number with: - build: npm ci --legacy-peer-deps start: npm run cy:run publish-npm: needs: [ build, cypress-run ] diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 37795a6..634d0a2 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -25,12 +25,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - uses: actions/setup-node@v3 # Install NPM dependencies, cache them correctly # and run all Cypress tests - name: Cypress run uses: cypress-io/github-action@v5 # use the explicit version number with: - build: npm ci --legacy-peer-deps start: npm run cy:run test-build-package: needs: [ test, cypress-run ]