diff --git a/.github/workflows/hfUpdate.yml b/.github/workflows/hfUpdate.yml index cb03cba6..825fde93 100644 --- a/.github/workflows/hfUpdate.yml +++ b/.github/workflows/hfUpdate.yml @@ -3,6 +3,7 @@ name: Update Huggingface Dataset on: schedule: # once daily at 3:05 pm PST (23:05 UTC) - cron: "5 23 * * *" + workflow_dispatch: jobs: run: @@ -28,7 +29,3 @@ jobs: echo "VITE_ENV=${{ secrets.VITE_ENV }}" >> .env - name: Run script run: python updateHfDataset.py - -# Notes on running this thing on macos: -# brew install act -# act -j run --verbose (verbose since the steps take so long the first time) \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index d5ccd4c2..ae3006a3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,6 +49,7 @@ "redux-logger": "^3.0.6", "redux-saga": "^1.2.3", "regenerator-runtime": "^0.14.0", + "test-setup": "^0.1.0", "web-worker": "^1.2.0", "yup": "^1.6.1" }, @@ -11730,6 +11731,12 @@ "node": ">=0.4.0" } }, + "node_modules/test-setup": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/test-setup/-/test-setup-0.1.0.tgz", + "integrity": "sha512-8kcRt+rpFHInxvDMSyzjiy0LPJoTYdvWXRl4kqkv6hixFxZteCkNof2mqg5IyZ8d398owGkPXf+iLUf6a5Rszg==", + "license": "ISC" + }, "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", diff --git a/package.json b/package.json index cb0a2eac..cb65e25f 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "jszip": "^3.10.1", "lodash.debounce": "^4.0.8", "mapbox-gl": "^2.15.0", - "mixpanel-browser": "^2.47.0", + "mixpanel-browser": "^2.47.0", "moment": "^2.29.4", "papaparse": "^5.4.1", "prop-types": "^15.8.1", @@ -66,6 +66,7 @@ "redux-logger": "^3.0.6", "redux-saga": "^1.2.3", "regenerator-runtime": "^0.14.0", + "test-setup": "^0.1.0", "web-worker": "^1.2.0", "yup": "^1.6.1" },