-
Notifications
You must be signed in to change notification settings - Fork 59
44 lines (44 loc) · 1.57 KB
/
nightly_runner_maintenance.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Runs nightly tests on maintenance branches
on:
workflow_dispatch:
schedule:
- cron: '0 2 */2 * *'
jobs:
run-tests:
runs-on: ${{ matrix.os }}
name: Run tests of branch ${{ matrix.branch }} on ${{ matrix.os }} with Node ${{ matrix.nodejs_version }}
strategy:
matrix:
branch: [ 5.0.x, 4.2.x, 4.1.x, 4.0.x ]
os: [ ubuntu-latest, windows-latest ]
nodejs_version: [ 10, 18 ]
fail-fast: false
steps:
- name: Setup Java
uses: actions/setup-java@v2
with:
java-version: 8
distribution: temurin
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.nodejs_version }}
- name: Disable line ending conversion of git
if: ${{ matrix.os == 'windows-latest'}}
run: git config --global core.autocrlf false
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
- name: Install dependencies and compile client
run: |
npm install
npm run compile
- name: Lint
run: npm run lint
- name: Validate User Code
run: npm run validate-user-code
- name: Run tests
env:
HAZELCAST_ENTERPRISE_KEY: ${{ secrets.HAZELCAST_ENTERPRISE_KEY }}
run: npm run test