-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (49 loc) · 1.36 KB
/
rename.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
name: Haxe-Rename
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '15 23 * * *'
jobs:
build:
strategy:
matrix:
haxe-version: ['4.3.6', 'nightly']
platform: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Set Git Auto CRLF to false on Windows
if: matrix.platform == 'windows-latest'
run: git config --global core.autocrlf false
- name: Checkout Formatter sources
uses: actions/checkout@v1
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
- name: Run npm install
run: npm ci
- name: Install Haxe version ${{ matrix.haxe-version }}
run: |
npx lix download haxe ${{ matrix.haxe-version }}
npx lix use haxe ${{ matrix.haxe-version }}
- name: Run lix download
run: npx lix download
- name: Print versions
run: |
npx haxe -version
npx neko -version
npx haxelib list
- name: Build Nodejs version
run: npx haxe build.hxml
- name: Run Nodejs tests
run: npx haxe -D codecov_json testCoverage.hxml
- name: Coverage report
if: success() && matrix.platform == 'ubuntu-latest' && matrix.haxe-version != 'nightly'
uses: livewing/[email protected]
with:
lcov: lcov.info