mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-22 01:46:04 +00:00
Thomas A. Christensen II
3e5019b784
The pagination changes require Node.js 18 or greater, so update the test apparatus to use the latest LTS version of Node.
22 lines
498 B
YAML
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 }}
|