We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1b50a53 + c7cb119 commit 05718f7Copy full SHA for 05718f7
.github/workflows/cypress.yml
@@ -34,13 +34,20 @@ jobs:
34
cd cypress
35
docker-compose up -d
36
37
- - name: Set up node
+ - name: Read package.json node and npm engines version
38
+ uses: skjnldsv/read-package-engines-version-actions@v1.1
39
+ id: versions
40
+ with:
41
+ fallbackNode: '^12'
42
+ fallbackNpm: '^6'
43
+
44
+ - name: Set up node ${{ steps.versions.outputs.nodeVersion }}
45
uses: actions/setup-node@v2
46
with:
- node-version: 14
47
+ node-version: ${{ steps.versions.outputs.nodeVersion }}
48
- - name: Set up npm7
- run: npm i -g npm@7
49
+ - name: Set up npm ${{ steps.versions.outputs.npmVersion }}
50
+ run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
51
52
- name: Install dependencies & build app
53
run: |
0 commit comments