Skip to content

Commit

Permalink
[Issue-2] Update fetching data from web-runner
Browse files Browse the repository at this point in the history
  • Loading branch information
saltict committed Jan 25, 2024
1 parent 17d9d11 commit ab7450b
Show file tree
Hide file tree
Showing 17 changed files with 2,331 additions and 237 deletions.
1 change: 1 addition & 0 deletions .github/workflows/scheduler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- name: Update data
run: |
yarn install
npx puppeteer browsers install chrome
yarn fetch-data
- name: Deploy to Cloudflare Pages
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ build
node_modules
.yarn
.vscode
.cache
yarn-error.log
9 changes: 9 additions & 0 deletions .puppeteerrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const {join} = require('path');

/**
* @type {import("puppeteer").Configuration}
*/
module.exports = {
// Changes the cache location for Puppeteer.
cacheDirectory: join(__dirname, '.cache', 'puppeteer'),
};
24 changes: 0 additions & 24 deletions data/earning/data.json

This file was deleted.

Loading

0 comments on commit ab7450b

Please sign in to comment.