File tree Expand file tree Collapse file tree 1 file changed +1
-52
lines changed
Expand file tree Collapse file tree 1 file changed +1
-52
lines changed Original file line number Diff line number Diff line change @@ -75,61 +75,11 @@ jobs:
7575 name : gem
7676 path : ' *.gem'
7777
78- # npm WASM 패키지 배포
79- publish-wasm :
80- name : Publish WASM to npm
81- runs-on : ubuntu-latest
82- needs : test
83-
84- steps :
85- - uses : actions/checkout@v4
86-
87- - name : Setup Node.js
88- uses : actions/setup-node@v4
89- with :
90- node-version : ' 20'
91- registry-url : ' https://registry.npmjs.org'
92-
93- - name : Setup Ruby
94- uses : ruby/setup-ruby@v1
95- with :
96- ruby-version : ' 3.3'
97-
98- - name : Install dependencies
99- run : |
100- cd wasm
101- npm install
102-
103- - name : Build WASM package
104- run : |
105- cd wasm
106- bash ./build.sh
107-
108- - name : Sync version from git tag
109- run : |
110- VERSION=${GITHUB_REF#refs/tags/v}
111- echo "Version: $VERSION"
112- cd wasm
113- npm version $VERSION --no-git-tag-version --allow-same-version
114-
115- - name : Publish to npm
116- run : |
117- cd wasm
118- npm publish --access public
119- env :
120- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
121-
122- - name : Upload WASM artifact
123- uses : actions/upload-artifact@v4
124- with :
125- name : wasm
126- path : wasm/dist/*
127-
12878 # GitHub Release 생성
12979 create-release :
13080 name : Create GitHub Release
13181 runs-on : ubuntu-latest
132- needs : [ publish-gem, publish-wasm]
82+ needs : publish-gem
13383
13484 steps :
13585 - name : Download all artifacts
14393 generate_release_notes : true
14494 files : |
14595 artifacts/gem/*.gem
146- artifacts/wasm/*
14796 fail_on_unmatched_files : false
14897 env :
14998 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments