Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Deploys npm projects, vscode extensions on a nightly basis if it has changed

License

NotificationsYou must be signed in to change notification settings

orta/monorepo-deploy-nightly

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 deployed viavsce

It will grab the latest semver number from either npm or the vscode marketplace, and then bump it by a patch,

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 and a custom sort order:

      -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"]'install:'true'

TODO

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

Stars

Watchers

Forks

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp