Git log output #12
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: Generate packages and publish | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- release/* | |
permissions: | |
contents: write | |
jobs: | |
Build-packages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
with: | |
fetch-depth: 0 | |
uses: actions/checkout@v4 | |
- name: Git identification | |
run: | | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install | |
run: yarn | |
- name: Bump | |
run: yarn gitversion bump | |
- name: Build 🔧 | |
run: yarn build:all | |
- name: Publish | |
run: yarn gitversion publish | |
env: | |
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | |
- name: Reset versions | |
run: yarn gitversion reset | |