ci-pdf-converter.yml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. name: Node CI for pdf-converter
  2. on:
  3. push:
  4. branches-ignore:
  5. - release/**
  6. - rc/**
  7. - support/prepare-v**
  8. paths:
  9. - .github/mergify.yml
  10. - .github/workflows/ci-pdf-converter.yml
  11. - .eslint*
  12. - tsconfig.base.json
  13. - turbo.json
  14. - pnpm-lock.yaml
  15. - package.json
  16. - apps/pdf-converter/**
  17. - '!apps/pdf-converter/docker/**'
  18. concurrency:
  19. group: ${{ github.workflow }}-${{ github.ref }}
  20. cancel-in-progress: true
  21. jobs:
  22. ci-pdf-converter-lint:
  23. runs-on: ubuntu-latest
  24. strategy:
  25. matrix:
  26. node-version: [20.x]
  27. steps:
  28. - uses: actions/checkout@v4
  29. - uses: pnpm/action-setup@v4
  30. - uses: actions/setup-node@v4
  31. with:
  32. node-version: ${{ matrix.node-version }}
  33. cache: 'pnpm'
  34. - name: Install dependencies
  35. run: |
  36. pnpm add turbo --global
  37. pnpm install --frozen-lockfile
  38. - name: Lint
  39. run: |
  40. turbo run lint --filter=@growi/pdf-converter
  41. - name: Slack Notification
  42. uses: weseek/ghaction-slack-notification@master
  43. if: failure()
  44. with:
  45. type: ${{ job.status }}
  46. job_name: '*Node CI for growi-pdf-converter - test (${{ matrix.node-version }})*'
  47. channel: '#ci'
  48. isCompactMode: true
  49. url: ${{ secrets.SLACK_WEBHOOK_URL }}
  50. ci-pdf-converter-launch-dev:
  51. runs-on: ubuntu-latest
  52. strategy:
  53. matrix:
  54. node-version: [20.x]
  55. steps:
  56. - uses: actions/checkout@v4
  57. - uses: pnpm/action-setup@v4
  58. - uses: actions/setup-node@v4
  59. with:
  60. node-version: ${{ matrix.node-version }}
  61. cache: 'pnpm'
  62. - name: Install dependencies
  63. run: |
  64. pnpm add turbo --global
  65. pnpm install --frozen-lockfile
  66. - name: turbo run dev:pdf-converter:ci
  67. working-directory: ./apps/pdf-converter
  68. run: turbo run dev:pdf-converter:ci
  69. - name: Slack Notification
  70. uses: weseek/ghaction-slack-notification@master
  71. if: failure()
  72. with:
  73. type: ${{ job.status }}
  74. job_name: '*Node CI for growi-pdf-converter - launch-dev (${{ matrix.node-version }})*'
  75. channel: '#ci'
  76. isCompactMode: true
  77. url: ${{ secrets.SLACK_WEBHOOK_URL }}