Skip to content

Commit 2f1ebaa

Browse files
cd: publish slim package
1 parent 2eb9ded commit 2f1ebaa

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
@@ -35,3 +37,11 @@ jobs:
3537
GIT_COMMITTER_NAME: Venus Tools
3638
GIT_COMMITTER_EMAIL: tools@venus.io
3739
run: yarn semantic-release
40+
41+
- name: Prepare slim package
42+
run: bash .github/prepare_slim_package.sh
43+
44+
- name: Publish slim package
45+
run: bash .github/publish_slim_package.sh
46+
env:
47+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)