Skip to content

Commit 6656070

Browse files
author
Robert Jackson
authored
Merge pull request #105 from volta-cli/add-variant-acceptance-test
Add CI scenario acceptance test using `variant`
2 parents f8549fc + a88d425 commit 6656070

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/CI.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,3 +173,30 @@ jobs:
173173
- run: ./action/tests/check-version.sh 'node' 'v10.17.0'
174174
- run: ./action/tests/check-version.sh 'yarn' '1.19.0'
175175
- run: ./action/tests/check-registry.sh 'https://some.path.here.com/lol/'
176+
177+
test-specific-variant:
178+
runs-on: "${{ matrix.os }}-latest"
179+
180+
strategy:
181+
matrix:
182+
os: [ubuntu]
183+
184+
steps:
185+
- uses: actions/checkout@v3
186+
with:
187+
path: action
188+
189+
- run: npm ci
190+
working-directory: ./action
191+
- run: npm run build
192+
working-directory: ./action
193+
- uses: ./action
194+
with:
195+
variant: linux-openssl-1.1
196+
197+
- run: ./action/tests/log-info.sh
198+
- run: ./action/tests/check-version.sh 'volta' 'current'
199+
200+
- run: ./action/tests/check-version.sh 'node' 'v12.16.1'
201+
- run: ./action/tests/check-version.sh 'npm' '7.5.2'
202+
- run: ./action/tests/check-version.sh 'yarn' '1.19.1'

0 commit comments

Comments
 (0)