migrate to GitHub Actions (#3586)

This commit is contained in:
Alex Lam S.L
2019-11-14 03:36:23 +08:00
committed by alexlamsl
parent 910799ca99
commit 4027f87717
5 changed files with 11 additions and 170 deletions

View File

@@ -18,13 +18,13 @@ jobs:
with:
path: tmp
key: tmp ${{ matrix.script }}
- shell: bash
- name: Perform tests
shell: bash
run: |
git clone --branch v1.5.2 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
. ~/.nvs/nvs.sh
nvs --version
nvs add node/$NODE
nvs use node/$NODE
git clone --branch v1.5.3 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
. ~/.nvs/nvs.sh --version
nvs add $NODE
nvs use $NODE
node --version
npm --version --no-update-notifier
npm install --no-audit --no-optional --no-save --no-update-notifier

View File

@@ -12,11 +12,11 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- shell: bash
- name: Perform fuzzing
shell: bash
run: |
git clone --branch v1.5.2 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
. ~/.nvs/nvs.sh
nvs --version
git clone --branch v1.5.3 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
. ~/.nvs/nvs.sh --version
nvs add node
nvs use node
node --version