|
|
@ -16,9 +16,9 @@ jobs:
|
|
|
|
# Build and unit test
|
|
|
|
# Build and unit test
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
|
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
|
|
fail-fast: false
|
|
|
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
- name: Checkout
|
|
|
@ -27,7 +27,7 @@ jobs:
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
node-version: '12.x'
|
|
|
|
node-version: '12.x'
|
|
|
|
- name: Determine npm cache directory
|
|
|
|
- name: Get npm cache directory
|
|
|
|
id: npm-cache
|
|
|
|
id: npm-cache
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
echo "::set-output name=dir::$(npm config get cache)"
|
|
|
|
echo "::set-output name=dir::$(npm config get cache)"
|
|
|
@ -85,7 +85,7 @@ jobs:
|
|
|
|
test-proxy-save:
|
|
|
|
test-proxy-save:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
container:
|
|
|
|
image: ubuntu:latest
|
|
|
|
image: imbsky/zstd:latest
|
|
|
|
options: --dns 127.0.0.1
|
|
|
|
options: --dns 127.0.0.1
|
|
|
|
services:
|
|
|
|
services:
|
|
|
|
squid-proxy:
|
|
|
|
squid-proxy:
|
|
|
@ -108,7 +108,7 @@ jobs:
|
|
|
|
needs: test-proxy-save
|
|
|
|
needs: test-proxy-save
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
container:
|
|
|
|
image: ubuntu:latest
|
|
|
|
image: imbsky/zstd:latest
|
|
|
|
options: --dns 127.0.0.1
|
|
|
|
options: --dns 127.0.0.1
|
|
|
|
services:
|
|
|
|
services:
|
|
|
|
squid-proxy:
|
|
|
|
squid-proxy:
|
|
|
|