Skip to content

ci: refactor concurrency (#402) #23

ci: refactor concurrency (#402)

ci: refactor concurrency (#402) #23

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Release
on:
push:
branches: main
workflow_dispatch:
inputs:
dry-run:
description: Dry run
required: false
default: false
type: boolean
tag:
description: The tag to use during publish, values are latest, next
required: false
default: latest
type: choice
options:
- latest
- next
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
uses: cap-js/.github/.github/workflows/release.yml@main
secrets: inherit
with:
dry-run: ${{ github.event.inputs.dry-run || false }}
tag: ${{ github.event.inputs.tag || 'latest'}}