-
Notifications
You must be signed in to change notification settings - Fork 5
59 lines (54 loc) · 1.18 KB
/
example.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
name: Example builds
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
release:
types: [published]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
nextflow_version:
- "21.10.3"
- "22.04"
- "22.03.1-edge"
- "latest"
- "latest-stable"
- "latest-edge"
- "latest-everything"
all_distribution:
- true
- false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: "npm"
- run: npm ci
- run: npm run build
- run: npm run package
- uses: ./
with:
version: ${{ matrix.nextflow_version }}
all: ${{ matrix.all_distribution }}
- run: nextflow -v
test-14:
runs-on: ubuntu-latest
steps:
- uses: easimon/maximize-build-space@v7
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: "npm"
- run: npm ci
- run: npm run build
- run: npm run package
- uses: ./
- run: nextflow -v