setup-nextflow/.github/workflows/example.yml

42 lines
835 B
YAML
Raw Normal View History

2022-06-13 18:30:07 +00:00
name: Example builds
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
nextflow_version:
2022-11-13 05:27:57 +00:00
- '21.10.3'
- '22.04'
- '22.03.1-edge'
- 'latest'
- 'latest-stable'
- 'latest-edge'
- 'latest-everything'
2022-06-13 18:30:07 +00:00
all_distribution:
- true
- false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
2022-11-13 05:27:57 +00:00
cache: 'npm'
2022-11-13 22:05:17 +00:00
- run: npm ci
2022-11-13 22:11:09 +00:00
- run: npm run format:check
- run: npm run lint
- run: npm run package
2022-06-13 18:30:07 +00:00
- uses: ./
with:
version: ${{ matrix.nextflow_version }}
all: ${{ matrix.all_distribution }}
- run: nextflow -v