setup-nextflow/.github/workflows/example.yml
2022-11-17 19:32:25 +00:00

39 lines
773 B
YAML

name: Example builds
on:
push:
pull_request:
workflow_dispatch:
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
- uses: ./
with:
version: ${{ matrix.nextflow_version }}
all: ${{ matrix.all_distribution }}
- run: nextflow -v