Skip to content

Add CC0-1.0, CC-BY-3.0, and CC-BY-NC* rows to the license policy #453

Add CC0-1.0, CC-BY-3.0, and CC-BY-NC* rows to the license policy

Add CC0-1.0, CC-BY-3.0, and CC-BY-NC* rows to the license policy #453

Workflow file for this run

name: Packages
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Typecheck packages
run: npm run packages-typecheck
- name: Build packages
run: npm run packages-build
# Runs after build because the validator imports
# @galaxy-foundry/foundry/meta to enumerate known CLI commands; the
# `./meta` subpath only resolves once `dist/` exists.
- name: Validate content
run: npm run validate
- name: Install site dependencies
run: npm --prefix site install --no-audit --no-fund
- name: Typecheck root and site
run: npm run typecheck
- name: Run repo tests
run: npm run test
- name: Cache Nextflow pipeline fixtures
id: fixture-cache
uses: actions/cache@v4
with:
path: workflow-fixtures/pipelines
key: nf-fixtures-v1-${{ hashFiles('workflow-fixtures/fixtures.yaml') }}
- name: Materialize required Nextflow fixtures
if: steps.fixture-cache.outputs.cache-hit != 'true'
run: |
# Only fetch the pipelines the integration tests actually exercise;
# `make fixtures-nextflow` clones all 15 pinned pipelines, which is
# wasteful on a cold CI cache. Add new names here as tests grow.
set -euo pipefail
for name in nf-core/demo nf-core/bacass nf-core/rnaseq; do
workflow-fixtures/scripts/fetch.sh "$name"
done
- name: Test packages
run: npm run packages-test
- name: Smoke-test package tarballs
run: npm run smoke:packages
- name: Check package formatting
run: npm run packages-format
- name: Lint packages
run: npm run packages-lint
- name: Cast drift check
run: npm run cast -- summarize-nextflow --check
- name: Build site
run: npm run site:build