Skip to content

Commit

Permalink
Merge pull request #1101 from nextcloud/backport/1097/stable21
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Dec 16, 2021
2 parents ec1dea8 + 63a5e94 commit 2b74513
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 2b74513

Please sign in to comment.