"Fossies" - the Fresh Open Source Software Archive

Member "UglifyJS-3.12.0/.github/workflows/ci.yml" (22 Nov 2020, 1558 Bytes) of package /linux/www/UglifyJS-3.12.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 name: CI
    2 on:
    3   pull_request:
    4   push:
    5     branches: [ master ]
    6 jobs:
    7   test:
    8     strategy:
    9       matrix:
   10         node: [ "0.8", "0.10", "0.12", "4", "6", "8", "10", "12", latest ]
   11         os: [ ubuntu-latest, windows-latest ]
   12         script: [ compress, mocha, release/benchmark, release/jetstream ]
   13         exclude:
   14           - node: "0.8"
   15             script: release/benchmark
   16           - node: "0.8"
   17             script: release/jetstream
   18     name: ${{ matrix.node }} ${{ matrix.os }} ${{ matrix.script }}
   19     runs-on: ${{ matrix.os }}
   20     env:
   21       NODE: ${{ matrix.node }}
   22       TYPE: ${{ matrix.script }}
   23     steps:
   24       - uses: actions/checkout@v2
   25       - uses: actions/cache@v2
   26         with:
   27           path: tmp
   28           key: tmp ${{ matrix.script }}
   29       - name: Perform tests
   30         shell: bash
   31         run: |
   32           git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
   33           while ! timeout 60 bash -c '. ~/.nvs/nvs.sh add $NODE && nvs use $NODE'; do
   34             cd ~/.nvs
   35             while !(git clean -xdf); do echo "'git clean' failed - retrying..."; done
   36             cd -
   37           done
   38           . ~/.nvs/nvs.sh --version
   39           nvs use $NODE
   40           node --version
   41           npm config set audit false
   42           npm config set optional false
   43           npm config set save false
   44           npm config set strict-ssl false
   45           npm config set update-notifier false
   46           npm --version
   47           while !(npm install); do echo "'npm install' failed - retrying..."; done
   48           node test/$TYPE