2022-06-13 14:30:07 -04:00
|
|
|
name: Example builds
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2022-11-14 13:52:04 -05:00
|
|
|
branches:
|
|
|
|
- master
|
2022-06-13 14:30:07 -04:00
|
|
|
pull_request:
|
|
|
|
workflow_dispatch:
|
2022-11-14 13:52:04 -05:00
|
|
|
release:
|
|
|
|
types: [published]
|
2022-06-13 14:30:07 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
nextflow_version:
|
2022-11-15 10:57:34 -05:00
|
|
|
- "21.10.3"
|
|
|
|
- "22.04"
|
|
|
|
- "22.03.1-edge"
|
|
|
|
- "latest"
|
|
|
|
- "latest-stable"
|
|
|
|
- "latest-edge"
|
|
|
|
- "latest-everything"
|
2022-06-13 14:30:07 -04:00
|
|
|
all_distribution:
|
|
|
|
- true
|
|
|
|
- false
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
with:
|
2024-01-26 18:17:30 -05:00
|
|
|
node-version: 20
|
2022-11-15 10:57:34 -05:00
|
|
|
cache: "npm"
|
2022-11-13 17:05:17 -05:00
|
|
|
- run: npm ci
|
2022-11-13 17:50:40 -05:00
|
|
|
- run: npm run build
|
2022-11-13 17:11:09 -05:00
|
|
|
- run: npm run package
|
2022-06-13 14:30:07 -04:00
|
|
|
- uses: ./
|
|
|
|
with:
|
|
|
|
version: ${{ matrix.nextflow_version }}
|
|
|
|
all: ${{ matrix.all_distribution }}
|
|
|
|
- run: nextflow -v
|
2023-06-23 15:29:08 -04:00
|
|
|
|
|
|
|
test-14:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-06-23 15:39:47 -04:00
|
|
|
- uses: easimon/maximize-build-space@v7
|
2023-06-23 15:29:08 -04:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
with:
|
2024-01-26 18:17:30 -05:00
|
|
|
node-version: 20
|
2023-06-23 15:29:08 -04:00
|
|
|
cache: "npm"
|
|
|
|
- run: npm ci
|
|
|
|
- run: npm run build
|
|
|
|
- run: npm run package
|
|
|
|
- uses: ./
|
|
|
|
- run: nextflow -v
|