setup-nextflow/.github/workflows/publish.yml
Edmund Miller 1b07a3f172 build: Add ncc
npm run build works now without global install
2022-11-17 19:32:25 +00:00

19 lines
391 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: 16
cache: "npm"
- run: npm ci && npm run build
- uses: JasonEtco/build-and-tag-action@v1
env:
GITHUB_TOKEN: ${{ github.token }}