mirror of
https://github.com/stoatchat/javascript-client-api.git
synced 2026-07-16 05:31:52 -04:00
feat(ci): bump revolt.js dependency on revolt-api automatically (in theory) [skip ci]
This commit is contained in:
@@ -52,3 +52,22 @@ jobs:
|
||||
uses: JS-DevTools/npm-publish@v1
|
||||
with:
|
||||
token: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Checkout revolt.js repository
|
||||
if: ${{ steps.checkTag.outputs.exists }} != true
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: revoltchat/revolt.js
|
||||
path: api
|
||||
token: ${{ secrets.PAT }}
|
||||
- name: Update revolt-api dependency
|
||||
if: ${{ steps.checkTag.outputs.exists }} != true
|
||||
run: cd revolt.js && yarn add revolt-api@${{ env.api_version }}
|
||||
- name: Commit changes
|
||||
if: ${{ steps.checkTag.outputs.exists }} != true
|
||||
uses: EndBug/add-and-commit@v4
|
||||
with:
|
||||
cwd: "revolt.js"
|
||||
author_name: Revolt CI
|
||||
author_email: revolt-ci@users.noreply.github.com
|
||||
message: "chore: update revolt-api to ${{ env.api_version }}"
|
||||
|
||||
Reference in New Issue
Block a user