fix: saving user account info (#4121) #261
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Version packages | |
on: | |
# Triggers the workflow on push only for the main branch | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Config user name | |
run: git config --global user.name github.context.workflow | |
- name: Config user email | |
run: git config --global user.email "[email protected]" | |
- name: Check out git repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.ADMIN_TOKEN }} | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
registry-url: 'https://registry.npmjs.org' | |
- name: Version packages | |
run: yarn version:all | |
env: | |
GITHUB_TOKEN: ${{ secrets.ADMIN_TOKEN }} |