Skip to content

Update main.yml

Update main.yml #5

Workflow file for this run

on: [push]
name: Run Test
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: Test Run
steps:
- name: Make Code Badge
uses: shadowmoose/[email protected]
id: badge
with:
debug: true
directory: ./
badge: ./output/badge.svg
patterns: '*.js' # Patterns in the format of a '.gitignore' file, separated by pipes.
ignore: 'node_modules'
- name: Print the output
run: |
echo "Scanned: ${{ steps.badge.outputs.counted_files }}";
echo "Line Count: ${{ steps.badge.outputs.total_lines }}";