Remove unneeded dep, add some npm scripts

This commit is contained in:
sudofox
2022-09-05 15:16:47 -04:00
parent 7f403b4825
commit 9889525b77
3 changed files with 44 additions and 48 deletions

View File

@ -14,13 +14,13 @@ jobs:
uses: actions/checkout@v2
- name: Fetch latest data
run: |-
node update_blocklist.js
npm run update-blocklist
- name: Generate todo.txt
run: |-
comm -23 <(sort -u data/current.txt) <(awk -F= '{print $1}' data/identified.txt |sort -u) | sort -u > data/todo.txt
npm run update-todo
- name: Generate merged.txt
run: |-
node update_merged.js
npm run update-merged
- name: Commit and push if it changed
run: |-
git config user.name "Automated"