You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
544 B

  1. name: deploy-packages
  2. on:
  3. push:
  4. paths:
  5. - "packages/**"
  6. jobs:
  7. test-packages:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v2
  11. - name: test packages
  12. run: |
  13. yarn install
  14. yarn test
  15. deploy-packages:
  16. runs-on: ubuntu-latest
  17. needs: test-packages
  18. steps:
  19. - uses: actions/checkout@v2
  20. - name: deploy packages
  21. run: |
  22. cd packages
  23. ./deploy
  24. continue-on-error: true
  25. env:
  26. NPM_TOKEN: ${{ secrets.NPM_TOKEN }}