Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Merge pull request #93 from OWASP-BLT/copilot/add-tip-functionality #43

Merge pull request #93 from OWASP-BLT/copilot/add-tip-functionality

Merge pull request #93 from OWASP-BLT/copilot/add-tip-functionality #43

Workflow file for this run

name: Verify Build
on:
push:
pull_request:
jobs:
verify-build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install Dependencies
run: npm install
- name: Build the action
run: npm run build
- name: Verify dist/ is up to date
run: |
if [ -n "$(git status --porcelain dist/)" ]; then
echo "Error: dist/ directory is not up to date. Please run 'npm run build' and commit the changes."
git --no-pager diff dist/
exit 1
else
echo "✓ dist/ directory is up to date"
fi