Skip to content

Commit

Permalink
Merge pull request #1100 from nextcloud/backport/1097/stable22
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Dec 16, 2021
2 parents bae4d6b + 25321a3 commit 2a7c4f3
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,20 @@ jobs:
cd cypress
docker-compose up -d
- name: Set up node
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1.1
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
with:
node-version: 14
node-version: ${{ steps.versions.outputs.nodeVersion }}

- name: Set up npm7
run: npm i -g npm@7
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"

- name: Install dependencies & build app
run: |
Expand Down

0 comments on commit 2a7c4f3

Please sign in to comment.