Skip to content

Commit 4398422

Browse files
committed
fit: fix github workflow
1 parent 0a5ad0a commit 4398422

File tree

6 files changed

+20
-45
lines changed

6 files changed

+20
-45
lines changed

.changeset/neat-goats-jog.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'unused-i18n': patch
3+
---
4+
5+
fix github workflow

.changeset/orange-laws-buy.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"unused-i18n": patch
3+
---
4+
5+
fix repo name

.github/workflows/publish.yml

-38
This file was deleted.

.github/workflows/release.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Create Release Pull Request
1+
name: Release
22

33
on:
44
push:
@@ -8,10 +8,11 @@ on:
88
concurrency: ${{ github.workflow }}-${{ github.ref }}
99

1010
jobs:
11-
create-release-pr:
12-
name: Create Release Pull Request
11+
release:
12+
name: Release
1313
runs-on: ubuntu-latest
1414
permissions: write-all
15+
1516
steps:
1617
- uses: actions/checkout@v4
1718

@@ -26,7 +27,6 @@ jobs:
2627
- uses: pnpm/[email protected]
2728
with:
2829
version: 9.1.1
29-
3030
- name: Use Node.js
3131
uses: actions/setup-node@v4
3232
with:
@@ -35,11 +35,14 @@ jobs:
3535

3636
- run: pnpm install
3737

38-
- name: Create Release Pull Request
38+
- name: Create Release Pull Request or Publish to npm
3939
id: changesets
4040
uses: changesets/action@v1
4141
with:
4242
commit: 'chore: release'
4343
title: 'chore: release'
44+
publish: pnpm release && npm publish
4445
env:
4546
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
48+
NPM_CONFIG_PROVENANCE: true

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @lawndlwd/unused-i18n
1+
# unused-i18n
22

33
## 0.1.12
44

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@lawndlwd/unused-i18n",
2+
"name": "unused-i18n",
33
"version": "0.1.12",
44
"license": "MIT",
55
"type": "module",

0 commit comments

Comments
 (0)