canary-minor.yml 805 B

123456789101112131415161718192021222324252627282930313233
  1. name: canary minor release
  2. on:
  3. # Runs every Monday at 1 AM UTC (9:00 AM in Singapore)
  4. schedule:
  5. - cron: 0 1 * * MON
  6. workflow_dispatch:
  7. jobs:
  8. canary:
  9. # prevents this action from running on forks
  10. if: github.repository == 'vuejs/core'
  11. runs-on: ubuntu-latest
  12. environment: Release
  13. steps:
  14. - uses: actions/checkout@v5
  15. with:
  16. ref: minor
  17. - name: Install pnpm
  18. uses: pnpm/action-setup@v4.1.0
  19. - name: Install Node.js
  20. uses: actions/setup-node@v4
  21. with:
  22. node-version-file: '.node-version'
  23. registry-url: 'https://registry.npmjs.org'
  24. cache: 'pnpm'
  25. - run: pnpm install
  26. - run: pnpm release --canary --publish --tag minor
  27. env:
  28. NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}