ci: populate main and v3.x after publish

This commit is contained in:
Filip Skokan 2021-03-18 14:37:26 +01:00
parent f0f19849b4
commit 8f00fb5888

View file

@ -19,6 +19,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v2
with:
@ -37,3 +39,5 @@ jobs:
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: git push origin $GITHUB_SHA:main
- run: git push origin $GITHUB_SHA:v3.x