{"id":15594335,"url":"https://github.com/orta/monorepo-deploy-nightly","last_synced_at":"2026-05-02T04:38:21.095Z","repository":{"id":45431948,"uuid":"266805691","full_name":"orta/monorepo-deploy-nightly","owner":"orta","description":"Deploys npm projects, vscode extensions  on a nightly basis if it has changed","archived":false,"fork":false,"pushed_at":"2021-12-14T13:34:38.000Z","size":366,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-10T09:32:14.163Z","etag":null,"topics":["deploys","npm","releases","vscode","vsode-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-25T14:49:44.000Z","updated_at":"2021-12-14T13:34:42.000Z","dependencies_parsed_at":"2022-08-04T15:00:31.062Z","dependency_job_id":null,"html_url":"https://github.com/orta/monorepo-deploy-nightly","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orta%2Fmonorepo-deploy-nightly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orta%2Fmonorepo-deploy-nightly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orta%2Fmonorepo-deploy-nightly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orta%2Fmonorepo-deploy-nightly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orta","download_url":"https://codeload.github.com/orta/monorepo-deploy-nightly/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247272459,"owners_count":20911753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deploys","npm","releases","vscode","vsode-extension"],"created_at":"2024-10-03T00:38:21.557Z","updated_at":"2026-05-02T04:38:21.058Z","avatar_url":"https://github.com/orta.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Monorepo Deploy Nightly\n\nDeploy projects which have changed on a nightly basis. You might not need this [pleb](https://github.com/wixplosives/pleb) might provide everything you need.\n\nThis will look in `packages/*` for packages which have _any_ changes based on the [`since` option in git](https://www.git-scm.com/docs/git-log#_commit_limiting):\n \n - Packages marked 'private' are ignored\n - Packages with vscode in engines are:\n   - deployed via [`vsce`](https://code.visualstudio.com/api/working-with-extensions/publishing-extension) when there is a `VSCE_TOKEN` in the env\n   - deployed via [`ovsx`](https://www.npmjs.com/package/ovsx) when there is a `OVSX_TOKEN` in the env\n\nIt will grab the latest semver number from either npm or the vscode marketplace, and then bump it by a patch. For npm, if the project's `package.json` version is higher than that on npm, it will use that version instead.\n\n```yml\nname: Deploy Daily Builds\n\n# For testing\n# on: push\n\n# For production\non:\n  schedule:\n    - cron: \"0 4 * * *\"\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-node@v1\n        with:\n          registry-url: \"https://registry.npmjs.org\"\n\n      # Ensure everything is compiling\n      - run: \"yarn install\"\n      - run: \"yarn build\"\n\n      # Shipit\n      - uses: orta/monorepo-deploy-nightly@master\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n          VSCE_TOKEN: ${{ secrets.AZURE_PAN_TOKEN }}\n```\n\nFor a weekly deploy, with npm installs, a custom sort order and only specific packages:\n\n```yml\n      - uses: orta/monorepo-deploy-nightly@master\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n          VSCE_TOKEN: ${{ secrets.AZURE_PAN_TOKEN }}\n        with: \n          since: '1 week ago'\n          sort: '[\"one\", \"three\", \"two\"]'\n          only: '[\"one\", \"three\", \"two\"]'\n          install: 'true'\n```\n\nDeploy nightly builds for vscode extensions [which get deployed as pre-releases](https://code.visualstudio.com/updates/v1_63#_pre-release-extensions):\n\n\n```yml\n      - uses: orta/monorepo-deploy-nightly@master\n        env:\n          VSCE_TOKEN: ${{ secrets.AZURE_PAN_TOKEN }}\n        with: \n          vsce-params: '--pre-release --yarn'\n```\n\n### TODO\n\nFor a build where a specific file changing in the build triggers a deploy\n\n```yml\n      - uses orta/monorepo-deploy-nightly@master\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n          VSCE_TOKEN: ${{ secrets.AZURE_PAN_TOKEN }}\n        with: \n          since: '1 week ago'\n          changed: \"relative/path/to/file/from/package'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forta%2Fmonorepo-deploy-nightly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forta%2Fmonorepo-deploy-nightly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forta%2Fmonorepo-deploy-nightly/lists"}