Alpha Release #7
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: Alpha Release | |
permissions: | |
contents: write | |
on: workflow_dispatch | |
jobs: | |
report: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
registry-url: "https://npm.pkg.github.com" | |
- name: Install | |
run: npm ci | |
# - name: Update Docs | |
# run: npm run docs | |
# - name: Run build | |
# run: npm run build | |
- name: Get next version | |
run: echo $NEXT=0.0.1-alpha.$(echo $(npm run release:alpha:next | tail -n 1)) >> $GITHUB_ENV | |
- name: Print next version | |
run: echo ${{ env.NEXT }} | |
- name: Echo upstream remote | |
run: git remote -v | |
- name: Push upstream | |
run: git push origin main --tags |