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

21 lines
401 B
YAML
Raw Normal View History

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: 16
2022-11-13 05:27:57 +00:00
cache: 'npm'
2022-11-13 22:05:17 +00:00
- run: npm ci
- run: npm run build
- uses: JasonEtco/build-and-tag-action@v1
env:
GITHUB_TOKEN: ${{ github.token }}