canary.yml 702 B

123456789101112131415161718192021222324252627282930
  1. name: canary 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. steps:
  13. - uses: actions/checkout@v3
  14. - name: Install pnpm
  15. uses: pnpm/action-setup@v2
  16. - name: Set node version to 18
  17. uses: actions/setup-node@v3
  18. with:
  19. node-version: 18
  20. registry-url: 'https://registry.npmjs.org'
  21. cache: 'pnpm'
  22. - run: pnpm install
  23. - run: pnpm release --canary
  24. env:
  25. NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}