build-packages.yml 665 B

1234567891011121314151617181920212223242526272829
  1. name: Build packages
  2. on:
  3. push:
  4. branches:
  5. - master
  6. pull_request:
  7. jobs:
  8. packages:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v2
  12. - name: Setup Node.js 14.x
  13. uses: actions/setup-node@v2
  14. with:
  15. node-version: 14.x
  16. - name: Install dependencies
  17. run: |
  18. yarn --frozen-lockfile
  19. yarn --cwd src/packages/excalidraw
  20. yarn --cwd src/packages/utils
  21. - name: Build @excalidraw/excalidraw
  22. run: |
  23. yarn --cwd src/packages/excalidraw run pack
  24. - name: Build @excalidraw/utils
  25. run: |
  26. yarn --cwd src/packages/utils run pack