setup-nextflow/.github/workflows/publish.yml
Thomas A. Christensen II 3e5019b784 ci: Update minimum node version in ci
The pagination changes require Node.js 18 or greater, so update the test
apparatus to use the latest LTS version of Node.
2024-01-30 10:42:55 -06:00

22 lines
498 B
YAML

name: Publish
on:
release:
types: [published, edited]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- run: npm ci
- run: npm run build
- run: npm run package
- run: sed -i 's%lib/src/main.js%dist/index.js%' package.json
- uses: JasonEtco/build-and-tag-action@v1
env:
GITHUB_TOKEN: ${{ github.token }}