Skip to content

Commit 531ba11

Browse files
committed
chore: update .github/workflows/ci.yml
1 parent 2af0a09 commit 531ba11

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
env:
88
SKIP_PREFLIGHT_CHECK: true
9+
NODE_OPTIONS: --max_old_space_size=8192
910

1011
jobs:
1112
build-deploy:
@@ -32,12 +33,12 @@ jobs:
3233

3334
- name: Generate Changelog
3435
id: changelog
35-
uses: jaywcjlove/changelog-generator@v1.4.6
36+
uses: jaywcjlove/changelog-generator@v1.4.8
3637
if: steps.create_tag.outputs.successful
3738
with:
3839
token: ${{ secrets.GITHUB_TOKEN }}
3940
head-ref: ${{ steps.create_tag.outputs.version }}
40-
filter-author: (小弟调调™|renovate|Renovate Bot)
41+
filter-author: (renovate-bot|Renovate Bot)
4142
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
4243

4344
- name: Create Release
@@ -55,9 +56,17 @@ jobs:
5556
${{ steps.changelog.outputs.changelog }}
5657
5758
- run: git status
58-
- run: npm install @jsdevtools/npm-publish -g
59-
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./packages/core/package.json
60-
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./packages/docs/package.json
59+
- name: 📦 @uiw/react-native publish to NPM
60+
uses: JS-DevTools/npm-publish@v1
61+
with:
62+
token: ${{ secrets.NPM_TOKEN }}
63+
package: ./packages/core/package.json
64+
65+
- name: 📦 @uiw/react-native-doc publish to NPM
66+
uses: JS-DevTools/npm-publish@v1
67+
with:
68+
token: ${{ secrets.NPM_TOKEN }}
69+
package: ./packages/docs/package.json
6170

6271
- name: Deploy
6372
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)