autorelease-excalidraw.yml 634 B

123456789101112131415161718192021222324252627
  1. name: Auto release @excalidraw/excalidraw-next
  2. on:
  3. push:
  4. branches:
  5. - master
  6. jobs:
  7. Auto-release-excalidraw-next:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v2
  11. with:
  12. fetch-depth: 2
  13. - name: Setup Node.js 14.x
  14. uses: actions/setup-node@v2
  15. with:
  16. node-version: 14.x
  17. - name: Set up publish access
  18. run: |
  19. npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
  20. env:
  21. NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
  22. - name: Auto release
  23. run: |
  24. yarn add @actions/core
  25. yarn autorelease