-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (45 loc) · 1.06 KB
/
ci.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
---
name: CI
"on":
push:
branches:
- main
pull_request:
branches:
- "*"
workflow_dispatch:
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
jobs:
ci:
name: Development CI
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: echo "node_version=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
id: cat-nvmrc
- uses: actions/setup-node@v4
with:
node-version: ${{ steps.cat-nvmrc.outputs.node_version}}
- run: npm run build-dist
- name: Check if build left artifacts
run: git diff --exit-code
- uses: erlef/setup-beam@v1
with:
otp-version: '25.3'
- run: npm run test
action:
name: Action CI
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: '25.3'
- name: Use paulo-ferraz-oliveira/setup-elp
id: setup-elp
uses: ./
with:
elp-version: '2024-06-07'
- run: elp version