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.
 
 
 
 
 
 

36 lines
786 B

  1. name: deploy-lesspass-entropy-package
  2. on:
  3. push:
  4. paths:
  5. - "packages/lesspass-entropy/**"
  6. jobs:
  7. test:
  8. runs-on: ubuntu-18.04
  9. steps:
  10. - uses: actions/checkout@v2
  11. - uses: actions/setup-node@v1
  12. with:
  13. node-version: "14"
  14. - name: test lesspass-entropy package
  15. run: |
  16. yarn install
  17. yarn workspace lesspass-entropy run test
  18. deploy:
  19. runs-on: ubuntu-18.04
  20. needs: test
  21. steps:
  22. - uses: actions/checkout@v2
  23. - uses: actions/setup-node@v1
  24. with:
  25. node-version: "14"
  26. - name: deploy lesspass-entropy package
  27. run: |
  28. cd packages
  29. ./deploy lesspass-entropy
  30. continue-on-error: true
  31. env:
  32. NPM_TOKEN: ${{ secrets.NPM_TOKEN }}