Skip to content

Commit

Permalink
ci(release): update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
robingenz committed Jan 28, 2025
1 parent 38c7013 commit 642a15b
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- next
paths:
- .changeset/**
workflow_dispatch:
Expand All @@ -21,11 +20,9 @@ jobs:
if: github.repository == 'capawesome-team/capacitor-mlkit'
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
uses: actions/checkout@v4
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install Dependencies
Expand All @@ -35,8 +32,8 @@ jobs:
uses: changesets/action@v1
with:
publish: npm run release
commit: "chore(release): publish"
title: "chore(release): publish"
commit: 'chore(release): publish'
title: 'chore(release): publish'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 642a15b

Please sign in to comment.