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.
 
 
 
 
 
 

37 lines
794 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: "12"
  14. - name: test lesspass-entropy package
  15. run: |
  16. cd packages/lesspass-entropy
  17. yarn install
  18. yarn test
  19. deploy:
  20. runs-on: ubuntu-18.04
  21. needs: test
  22. steps:
  23. - uses: actions/checkout@v2
  24. - uses: actions/setup-node@v1
  25. with:
  26. node-version: "12"
  27. - name: deploy lesspass-entropy package
  28. run: |
  29. cd packages
  30. ./deploy lesspass-entropy
  31. continue-on-error: true
  32. env:
  33. NPM_TOKEN: ${{ secrets.NPM_TOKEN }}