Skip to content

Commit

Permalink
Fix test volta priority (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-korolevskii committed Sep 26, 2022
1 parent 9f3a02b commit 969bd26
Show file tree
Hide file tree
Showing 5 changed files with 948 additions and 948 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/versions.yml
Expand Up @@ -95,6 +95,9 @@ jobs:
node-version-file: [.nvmrc, .tool-versions, package.json]
steps:
- uses: actions/checkout@v3
- name: Remove volta from package.json
shell: bash
run: cat <<< "$(jq 'del(.volta)' ./__tests__/data/package.json)" > ./__tests__/data/package.json
- name: Setup node from node version file
uses: ./
with:
Expand All @@ -110,15 +113,12 @@ jobs:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- uses: actions/checkout@v3
- name: Remove engines from package.json
shell: bash
run: cat <<< "$(jq 'del(.engines)' ./__tests__/data/package.json)" > ./__tests__/data/package.json
- name: Setup node from node version file
uses: ./
with:
node-version-file: '__tests__/data/package.json'
- name: Verify node
run: __tests__/verify-node.sh 14
run: __tests__/verify-node.sh 16

node-dist:
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion __tests__/data/package.json
Expand Up @@ -3,6 +3,6 @@
"node": "^14.0.0"
},
"volta": {
"node": "14.0.0"
"node": "16.0.0"
}
}

0 comments on commit 969bd26

Please sign in to comment.