File tree 2 files changed +15
-17
lines changed
2 files changed +15
-17
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @lawndlwd/unused-i18n " : patch
3
+ ---
4
+
5
+ fix github workflow
Original file line number Diff line number Diff line change 1
- name : Create Release Pull Request
1
+ name : Publish to npm
2
2
3
3
on :
4
- push :
5
- branches :
6
- - main
7
-
8
- concurrency : ${{ github.workflow }}-${{ github.ref }}
4
+ release :
5
+ types : [created]
9
6
10
7
jobs :
11
- create-release-pr :
12
- name : Create Release Pull Request
8
+ publish :
9
+ name : Publish
13
10
runs-on : ubuntu-latest
14
- permissions : write-all
15
11
steps :
16
12
- uses : actions/checkout@v4
17
13
18
14
- name : Git Identity
19
15
run : |
20
16
git config --global user.name 'levende'
21
17
git config --global user.email '[email protected] '
22
- git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
23
18
env :
24
19
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25
20
35
30
36
31
- run : pnpm install
37
32
38
- - name : Create Release Pull Request
39
- id : changesets
40
- uses : changesets/action@v1
41
- with :
42
- commit : ' chore: release'
43
- title : ' chore: release'
33
+ - run : pnpm build
34
+
35
+ - name : Publish to npm
36
+ run : npm publish
44
37
env :
45
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments