mirror of
https://github.com/actions/setup-node
synced 2025-04-09 10:25:52 +00:00
.
This commit is contained in:
parent
a96a3f1cee
commit
beb1329f9f
1 changed files with 13 additions and 3 deletions
16
.github/workflows/workflow.yml
vendored
16
.github/workflows/workflow.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
|||
- name: Setup node 12
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
version: 12.x
|
||||
node-version: 12.x
|
||||
|
||||
- name: npm install
|
||||
run: npm install
|
||||
|
@ -40,7 +40,7 @@ jobs:
|
|||
- name: Setup node 10
|
||||
uses: ./
|
||||
with:
|
||||
version: 10.x
|
||||
node-version: 10.x
|
||||
|
||||
- name: Verify node version
|
||||
run: __tests__/verify-node-version.sh 10
|
||||
|
@ -48,13 +48,23 @@ jobs:
|
|||
test-proxy:
|
||||
name: Test E2E with proxy
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: alpine/git:latest
|
||||
options: --dns 127.0.0.1
|
||||
services:
|
||||
squid-proxy:
|
||||
image: datadog/squid:latest
|
||||
ports:
|
||||
- 3128:3128
|
||||
env:
|
||||
https_proxy: http://squid-proxy:3128
|
||||
steps:
|
||||
- uses: actions/checkout@users/ericsciple/m165proxy
|
||||
|
||||
- name: Setup node 10
|
||||
uses: ./
|
||||
with:
|
||||
version: 10.x
|
||||
node-version: 10.x
|
||||
|
||||
- name: Verify node version
|
||||
run: __tests__/verify-node-version.sh 10
|
||||
|
|
Loading…
Add table
Reference in a new issue