-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (49 loc) · 1.3 KB
/
test.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Test RegEdit
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: '0 4 * * *'
env:
LOGGING_DEFAULT_SHOW_PREFIX: true
LOGGING_DEFAULT_LOGGING_LEVEL: DEBUG
LOGGING_DEFAULT_SHOW_FORMATTING: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Maven Action
uses: s4u/[email protected]
with:
java-version: 8
- uses: actions/checkout@v3
- name: Download latest Airship
uses: FlatLang/fetch-airship@master
with:
includePrerelease: true
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Cache Maven dependencies
uses: actions/cache@v3
with:
path: |
~/.m2/repository
key: ${{ runner.os }}-build-${{ env.cache-name }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Build RegEdit Test
run: |
node airship.js install test -t es6
- uses: actions/upload-artifact@v3
if: failure()
with:
name: test.js
path: dist/es6/test.js
- name: Run RegEdit Test
run: |
node airship.js run test