- Notifications
You must be signed in to change notification settings - Fork2
Deploys npm projects, vscode extensions on a nightly basis if it has changed
License
orta/monorepo-deploy-nightly
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Deploy projects which have changed on a nightly basis. You might not need thispleb might provide everything you need.
This will look inpackages/* for packages which haveany changes based on thesince option in git:
- Packages marked 'private' are ignored
- Packages with vscode in engines are:
It 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'spackage.json version is higher than that on npm, it will use that version instead.
name:Deploy Daily Builds# For testing# on: push# For productionon:schedule: -cron:"0 4 * * *"jobs:deploy:runs-on:ubuntu-lateststeps: -uses:actions/checkout@v2 -uses:actions/setup-node@v1with:registry-url:"https://registry.npmjs.org"# Ensure everything is compiling -run:"yarn install" -run:"yarn build"# Shipit -uses:orta/monorepo-deploy-nightly@masterenv:NODE_AUTH_TOKEN:${{ secrets.NPM_TOKEN }}VSCE_TOKEN:${{ secrets.AZURE_PAN_TOKEN }}
For a weekly deploy, with npm installs, a custom sort order and only specific packages:
-uses:orta/monorepo-deploy-nightly@masterenv:NODE_AUTH_TOKEN:${{ secrets.NPM_TOKEN }}VSCE_TOKEN:${{ secrets.AZURE_PAN_TOKEN }}with:since:'1 week ago'sort:'["one", "three", "two"]'only:'["one", "three", "two"]'install:'true'
Deploy nightly builds for vscode extensionswhich get deployed as pre-releases:
-uses:orta/monorepo-deploy-nightly@masterenv:VSCE_TOKEN:${{ secrets.AZURE_PAN_TOKEN }}with:vsce-params:'--pre-release --yarn'
For a build where a specific file changing in the build triggers a deploy
-uses orta/monorepo-deploy-nightly@masterenv:NODE_AUTH_TOKEN:${{ secrets.NPM_TOKEN }}VSCE_TOKEN:${{ secrets.AZURE_PAN_TOKEN }}with:since:'1 week ago'changed:"relative/path/to/file/from/package'
About
Deploys npm projects, vscode extensions on a nightly basis if it has changed
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.