Skip to content

Commit 969bd26

Browse files
Fix test volta priority (#577)
1 parent 9f3a02b commit 969bd26

File tree

5 files changed

+948
-948
lines changed

5 files changed

+948
-948
lines changed

.github/workflows/versions.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ jobs:
9595
node-version-file: [.nvmrc, .tool-versions, package.json]
9696
steps:
9797
- uses: actions/checkout@v3
98+
- name: Remove volta from package.json
99+
shell: bash
100+
run: cat <<< "$(jq 'del(.volta)' ./__tests__/data/package.json)" > ./__tests__/data/package.json
98101
- name: Setup node from node version file
99102
uses: ./
100103
with:
@@ -110,15 +113,12 @@ jobs:
110113
os: [ ubuntu-latest, windows-latest, macos-latest ]
111114
steps:
112115
- uses: actions/checkout@v3
113-
- name: Remove engines from package.json
114-
shell: bash
115-
run: cat <<< "$(jq 'del(.engines)' ./__tests__/data/package.json)" > ./__tests__/data/package.json
116116
- name: Setup node from node version file
117117
uses: ./
118118
with:
119119
node-version-file: '__tests__/data/package.json'
120120
- name: Verify node
121-
run: __tests__/verify-node.sh 14
121+
run: __tests__/verify-node.sh 16
122122

123123
node-dist:
124124
runs-on: ${{ matrix.os }}

__tests__/data/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"node": "^14.0.0"
44
},
55
"volta": {
6-
"node": "14.0.0"
6+
"node": "16.0.0"
77
}
88
}

0 commit comments

Comments
 (0)