File: ci.yml

package info (click to toggle)
uglify-js 3.17.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,792 kB
  • sloc: javascript: 137,812; sh: 940; makefile: 41
file content (29 lines) | stat: -rw-r--r-- 782 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: CI
on:
  pull_request:
  push:
    branches: [ master ]
jobs:
  test:
    strategy:
      matrix:
        node: [ '0.10', '0.12', '4', '6', '8', '10', '12', '14', '16', latest ]
        os: [ ubuntu-latest, windows-latest ]
        script: [ compress, mocha, release/benchmark, release/jetstream ]
    name: ${{ matrix.node }} ${{ matrix.os }} ${{ matrix.script }}
    runs-on: ${{ matrix.os }}
    env:
      NODE: ${{ matrix.node }}
      TYPE: ${{ matrix.script }}
      UGLIFY_GITHUB_LAG: 10000
    steps:
      - uses: actions/checkout@v3
      - uses: actions/cache@v3
        with:
          path: tmp
          key: tmp ${{ matrix.script }}
      - name: Perform tests
        shell: bash
        run: |
          . ./test/release/install.sh
          node test/$TYPE