Skip to content

chore(deps-dev): bump tsx from 4.20.6 to 4.21.0 #113

chore(deps-dev): bump tsx from 4.20.6 to 4.21.0

chore(deps-dev): bump tsx from 4.20.6 to 4.21.0 #113

Workflow file for this run

name: Build and Test Action
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
build-action:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: '24'
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Build action
run: pnpm run build:action
- name: Test action locally
run: |
# Test the action with a sample commit
echo "Testing action with token: ${INPUT_GITHUB_TOKEN:0:10}..."
node dist/action.cjs || echo "Action test completed (expected to fail without proper setup)"
env:
INPUT_GITHUB-TOKEN: ${{ secrets.GITHUB_TOKEN }}
INPUT_CONFIG-PATH: '.commit-coach.yml'
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_SHA: ${{ github.sha }}
- name: Upload action artifacts
uses: actions/upload-artifact@v4
with:
name: action-dist
path: dist/
retention-days: 30