Skip to content

Publish Npm Downloads 🚀 #14

Publish Npm Downloads 🚀

Publish Npm Downloads 🚀 #14

Workflow file for this run

name: Publish
on:
workflow_dispatch:
schedule:
- cron: '0 0 */3 * *' # Runs at 00:00 UTC every 3 days
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: |
yarn
yarn dev
git config --global user.email "[email protected]"
git config --global user.name "Cosmology"
git add .
git commit -am "update 🛠"
git push
env:
GH_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}