diff --git a/.github/workflows/update-supply.yml b/.github/workflows/update-supply.yml index 14b45263..ea1b87c2 100644 --- a/.github/workflows/update-supply.yml +++ b/.github/workflows/update-supply.yml @@ -19,7 +19,9 @@ jobs: node-version: '18' - name: Install dependencies - run: npm install + run: | + cd js + npm install - name: Run supply update script run: node js/updateSupply.js diff --git a/assets/js/package.json b/assets/js/package.json new file mode 100644 index 00000000..f66723df --- /dev/null +++ b/assets/js/package.json @@ -0,0 +1,8 @@ +{ + "name": "supply-updater", + "version": "1.0.0", + "main": "updateSupply.js", + "scripts": { + "start": "node updateSupply.js" + } +} \ No newline at end of file