您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

37 行
818 B

  1. name: deploy-lesspass-fingerprint-package
  2. on:
  3. push:
  4. paths:
  5. - "packages/lesspass-fingerprint/**"
  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-fingerprint package
  15. run: |
  16. cd packages/lesspass-fingerprint
  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-fingerprint package
  28. run: |
  29. cd packages
  30. ./deploy lesspass-fingerprint
  31. continue-on-error: true
  32. env:
  33. NPM_TOKEN: ${{ secrets.NPM_TOKEN }}