Skip to content

Commit

Permalink
Create new_ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vidyasagarnimmagaddi authored Oct 7, 2024
1 parent 0bd0f67 commit bcce1e1
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/new_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI
on:
push

jobs:
test:
strategy:
matrix:
node: [ '0.10', '0.12', '4', '6', '8', '10', '12', '14', '16', '18', '20' ]
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@v4
- uses: actions/cache@v4
with:
path: tmp
key: tmp ${{ matrix.script }}
- name: Patch OpenSSL on Ubuntu
if: runner.os == 'Linux'
shell: bash
run: |
if ! grep -q '^# providers = provider_sect' /etc/ssl/openssl.cnf; then
echo '# providers = provider_sect' | sudo tee -a /etc/ssl/openssl.cnf
fi
- name: Perform tests
shell: bash
run: |
. ./test/release/install.sh
node test/$TYPE

0 comments on commit bcce1e1

Please sign in to comment.