Skip to content

Commit 91bb628

Browse files
committed
release to npm
1 parent ae69a17 commit 91bb628

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.github/workflows/release.yml

-12
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: i18nify Release
33
on:
44
workflow_dispatch:
55
push:
6-
branches: [master]
76

87
env:
98
GITHUB_ACCESS_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
@@ -23,18 +22,7 @@ jobs:
2322
node-version: 20.3.1
2423
- name: Install dependencies
2524
run: yarn
26-
- name: Create Release Pull Request & Publish packages
27-
id: changesets
28-
uses: changesets/action@v1
29-
if: github.event_name != 'workflow_dispatch' # only run on master merges
30-
env:
31-
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
32-
with:
33-
publish: yarn release
34-
commit: 'build(i18nify): update version'
35-
title: 'build(i18nify): update version'
3625
- name: Publish to public npm registry
37-
if: steps.changesets.outputs.published == 'true' || github.event_name == 'workflow_dispatch' # run when the package is published via changeset or if a release is triggered manually.
3826
env:
3927
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
4028
run: yarn publish-npm

0 commit comments

Comments
 (0)