Files
UglifyJS/.github/workflows/ufuzz.yml
2020-04-06 22:16:48 +08:00

33 lines
997 B
YAML

name: Fuzzing
on:
schedule:
- cron: "*/15 * * * *"
jobs:
ufuzz:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest ]
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Perform fuzzing
shell: bash
run: |
git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
cd ~/.nvs
chmod a+x ./nvs.sh
while !(./nvs.sh --version); do git clean -xdf; done;
while !(./nvs.sh add 10); do echo "'nvs add 10' failed - retrying..."; done;
./nvs.sh use 10
cd -
node --version
npm config set audit false
npm config set optional false
npm config set save false
npm config set update-notifier false
npm --version
while !(npm install); do echo "'npm install' failed - retrying..."; done;
node test/ufuzz/job 3600000