nightly-next.yaml 717 B

12345678910111213141516171819202122232425262728293031323334
  1. name: Publish Nightly Next
  2. on:
  3. schedule:
  4. - cron: '0 8 * * *'
  5. workflow_dispatch: {}
  6. repository_dispatch:
  7. types: publish-nightly-next
  8. jobs:
  9. build:
  10. runs-on: ubuntu-latest
  11. strategy:
  12. matrix:
  13. node-version: [12.x]
  14. steps:
  15. - uses: actions/checkout@v2
  16. with:
  17. ref: next
  18. - name: Use Node.js ${{ matrix.node-version }}
  19. uses: actions/setup-node@v1
  20. with:
  21. registry-url: https://registry.npmjs.org/
  22. - name: Setup and publish nightly
  23. run: |
  24. npm ci
  25. npm run release
  26. npm run prepare:nightly-next
  27. npm publish --tag next
  28. env:
  29. NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}