Skip to content

Commit

Permalink
fix(ci): fix new library package job for protected branches (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiskv authored Jan 27, 2024
1 parent ec7a4ee commit f27fce0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,19 @@ name: Create new library package

on:
workflow_dispatch:
inputs:
channel:
description: 'NPM channel to use'
required: true
default: 'next'
push:
branches:
- master
- beta

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- name: create new version
run: |
yarn install --immutable
Expand Down

0 comments on commit f27fce0

Please sign in to comment.