Skip to content

Commit a95ffea

Browse files
cd: publish slim package
1 parent 5149189 commit a95ffea

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/cd.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
jobs:
1010
release:
1111
runs-on: ubuntu-latest
12+
permissions:
13+
id-token: write
1214
steps:
1315
- name: Checkout
1416
uses: actions/checkout@v3
@@ -36,3 +38,11 @@ jobs:
3638
GIT_COMMITTER_NAME: Venus Tools
3739
GIT_COMMITTER_EMAIL: [email protected]
3840
run: yarn semantic-release
41+
42+
- name: Prepare slim package
43+
run: bash .github/prepare_slim_package.sh
44+
45+
- name: Publish slim package
46+
run: bash .github/publish_slim_package.sh
47+
env:
48+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)