Skip to content

fix: update release workflow #30

fix: update release workflow

fix: update release workflow #30

name: Example - Compliment Generator
on:
pull_request:
branches: [main, develop]
push:
branches: [main]
jobs:
generate-compliment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.8.1
cache: npm
- name: Install dependencies
run: npm ci
- name: Build the action
run: npm run build
- name: Remove node_modules
run: rm -rf node_modules
- name: Run Compliment Generator with Local Compliment Bot Action
uses: ./
with:
developer_name: Super Developer
compliment_style: motivational
- name: Run Compliment Generator with Released Compliment Bot Action
uses: junjie-w/compliment-bot-action@main
with:
developer_name: Code Wizard
compliment_style: funny