選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

deploy-lesspass-package.yml 746 B

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