chore(release): release v0.9.3 (#1158) #26
Workflow file for this run
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 new release | |
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
- '!v[0-9]+.[0-9]+.[0-9]+-pre.[0-9]+' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# Always release the tip of the default branch | |
ref: develop | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22.x' | |
registry-url: 'https://registry.npmjs.org' | |
- name: git config | |
run: | | |
git config user.name "${GITHUB_ACTOR}" | |
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" | |
- name: Install dependencies 📦 | |
run: npm install | |
- name: Publish Oruga release 🐛 | |
run: npm run publish:lib | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Publish Examples release 🦋 | |
run: npm run publish:examples | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Install release dependency 📦 | |
run: npm i extract-changelog-release | |
- name: Generate Release Body 📋 | |
run: npx extract-changelog-release > RELEASE_BODY.md | |
- uses: ncipollo/release-action@v1 | |
with: | |
bodyFile: 'RELEASE_BODY.md' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Publish documentation 📄 | |
run: | | |
git push origin develop:master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |