mirror of
https://github.com/loro-dev/loro.git
synced 2025-01-22 04:45:46 +00:00
chore: fix ci release
This commit is contained in:
parent
d381a5d741
commit
56216eff55
1 changed files with 7 additions and 1 deletions
8
.github/workflows/release_wasm.yml
vendored
8
.github/workflows/release_wasm.yml
vendored
|
@ -47,7 +47,13 @@ jobs:
|
|||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Build WASM release-build
|
||||
run: pnpm release-wasm
|
||||
|
||||
- name: Creating .npmrc
|
||||
run: |
|
||||
cat << EOF > "$HOME/.npmrc"
|
||||
//registry.npmjs.org/:_authToken=$NPM_TOKEN
|
||||
EOF
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
- name: Create Release Pull Request or Publish to npm
|
||||
id: changesets
|
||||
uses: changesets/action@v1
|
||||
|
|
Loading…
Reference in a new issue