Skip to content

Commit ac442b6

Browse files
authored
CI: merge snapshot release (#144)
* CI: merge snapshot release * Create stupid-ways-collect.md
1 parent 335799b commit ac442b6

File tree

3 files changed

+17
-35
lines changed

3 files changed

+17
-35
lines changed

.changeset/stupid-ways-collect.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"textlint-rule-preset-ja-technical-writing": patch
3+
---
4+
5+
CI: merge snapshot release
6+
7+
8+

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout Repo
18-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
18+
uses: actions/checkout@v4
1919
with:
2020
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
2121
fetch-depth: 0
@@ -33,3 +33,11 @@ jobs:
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3535
NPM_TOKEN: ${{ secrets.SHARED_BOT_NPM_TOKEN }}
36+
- name: Publish next snapshot
37+
if: steps.changesets.outputs.published != 'true'
38+
run: |
39+
yarn changeset version --snapshot next
40+
yarn changeset publish --no-git-tag --snapshot --tag next
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
NODE_AUTH_TOKEN: ${{ secrets.SHARED_BOT_NPM_TOKEN }}

.github/workflows/snapshot-release.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)