Fixed parameters' units and updated adapter to overfetch to fill data gaps for Taiwan #159
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
depcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
- name: install depcheck | |
run: npm install depcheck --legacy-peer-deps | |
- name: run depcheck | |
id: rundepcheck | |
run: | | |
DEPCHECK=$(npx depcheck --ignores=depcheck --json) || true | |
echo "DEPCHECK_RESULT=$DEPCHECK" >> $GITHUB_ENV | |
- name: Generate PR comment | |
id: generate_pr_comment | |
run: | | |
COMMENT=$(bash ./scripts/process_depcheck_output.sh "$DEPCHECK_RESULT") | |
echo "PR_COMMENT=$COMMENT" >> $GITHUB_ENV | |
- name: Comment PR | |
if: env.PR_COMMENT != '' | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
message: | | |
results: | |
${{ env.PR_COMMENT }} |