Skip to content

Commit

Permalink
Tweaked release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
mroloux committed Jan 29, 2024
1 parent 9325d2b commit 8da040b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
# 1. hit https://github.com/seatsio/[REPO]/settings/actions
# 2. under "Workflow permissions", make sure "Read and write permissions" is checked instead of the (default?) read only.

name: 'Update and publish @seatsio/seatsio-types'
name: 'Release'

on:
workflow_dispatch:
inputs:
version:
description: 'Bump version or release current version without changing package.json. Major for incompatible API changes, minor for adding backwards compatible features, patch for bugfixes.'
required: true
default: 'patch'
default: 'minor'
type: choice
options:
- current
Expand All @@ -29,7 +29,7 @@ jobs:
with:
node-version: 20
registry-url: https://registry.npmjs.org/

- name: Checkout latest main
run: |
git checkout main
Expand All @@ -56,4 +56,4 @@ jobs:
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: './package.json'
package: './package.json'

0 comments on commit 8da040b

Please sign in to comment.