mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-28 03:59:56 +00:00
22 lines
627 B
YAML
22 lines
627 B
YAML
name: Publish
|
|
|
|
on:
|
|
release:
|
|
types: [published, edited]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
|
|
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
|
|
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@dd5e4991048c325f6d85b4155e586fc211c644da # v2
|
|
env:
|
|
GITHUB_TOKEN: ${{ github.token }}
|