Skip to content

Commit

Permalink
#5 feat: shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Oct 27, 2024
1 parent 8fbd755 commit 235dd33
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Shellcheck

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
2 changes: 1 addition & 1 deletion setup/tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ if [ "$ENV" = "prod" ]; then
echo ' ∟ Installing pm2...'
npm install -g pm2
fi
else
fi

0 comments on commit 235dd33

Please sign in to comment.