Version #82
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 | |
on: | |
workflow_dispatch: | |
# pull_request: | |
# types: [closed] | |
# branches: | |
# - master | |
jobs: | |
versioning: | |
# if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16.x" | |
- name: Install and bootstrap | |
run: yarn install --frozen-lockfile | |
- name: Test and build | |
run: yarn run build | |
- name: Configure git | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
echo "$GITHUB_ACTOR" | |
git config user.email $GITHUB_ACTOR@users.noreply.github.com | |
git config user.name $GITHUB_ACTOR | |
- name: Lerna version | |
run: yarn run package:version |