chore: update release.yml
This commit is contained in:
parent
0eaf273091
commit
8e0b96430e
1 changed files with 11 additions and 0 deletions
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
|
|
@ -28,6 +28,17 @@ jobs:
|
|||
- name: Install Dependencies
|
||||
run: npm install --ci
|
||||
|
||||
- name: Creating .npmrc
|
||||
run: |
|
||||
cat << EOF > "$HOME/.npmrc"
|
||||
//registry.npmjs.org/:_authToken=$NPM_TOKEN
|
||||
EOF
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Npm login
|
||||
run: npm login
|
||||
|
||||
- name: Create Release Pull Request or Publish to npm
|
||||
id: changesets
|
||||
uses: changesets/action@v1
|
||||
|
|
|
|||
Loading…
Reference in a new issue