|
4 | 4 | workflow_call: |
5 | 5 |
|
6 | 6 | jobs: |
7 | | - # ci: |
8 | | - # name: CI |
9 | | - # uses: getdevopspro/github-actions/.github/workflows/pull-request.yml@v4.0.7 |
10 | | - # with: |
11 | | - # version-package: package.json |
12 | | - # version-package-lock: package-lock.json |
13 | | - # version-output-format: >- |
14 | | - # {{.Major}}.{{.Minor}}.{{.Patch}}${{ github.ref_name != github.event.repository.default_branch && '-pull-request' || '' }} |
15 | | - # pre-lint-command: NODEAPP_UID=$(id -u) NODEAPP_RESTART_POLICY=no NODEAPP_COMMAND="bash -c 'npm ci --ignore-scripts; npm run lint'" docker compose up nodeapp --force-recreate --remove-orphans --abort-on-container-exit --exit-code-from nodeapp |
16 | | - # pre-test-unit-command: NODEAPP_UID=$(id -u) NODEAPP_RESTART_POLICY=no NODEAPP_COMMAND="bash -c 'npm ci --ignore-scripts; npm run test'" docker compose up nodeapp --force-recreate --remove-orphans --abort-on-container-exit --exit-code-from nodeapp |
| 7 | + ci: |
| 8 | + name: CI |
| 9 | + uses: getdevopspro/github-actions/.github/workflows/build.yml@v6.0.0 |
| 10 | + with: |
| 11 | + version-package: package.json |
| 12 | + version-package-lock: package-lock.json |
| 13 | + version-output-format: >- |
| 14 | + {{.Major}}.{{.Minor}}.{{.Patch}}${{ github.ref_name != github.event.repository.default_branch && '-pull-request' || '' }} |
| 15 | + pre-lint-command: NODEAPP_UID=$(id -u) NODEAPP_RESTART_POLICY=no NODEAPP_COMMAND="bash -c 'npm ci --ignore-scripts; npm run lint'" docker compose up nodeapp --force-recreate --remove-orphans --abort-on-container-exit --exit-code-from nodeapp |
| 16 | + pre-test-unit-command: NODEAPP_UID=$(id -u) NODEAPP_RESTART_POLICY=no NODEAPP_COMMAND="bash -c 'npm ci --ignore-scripts; npm run test'" docker compose up nodeapp --force-recreate --remove-orphans --abort-on-container-exit --exit-code-from nodeapp |
17 | 17 |
|
18 | | - test: |
19 | | - name: Test |
20 | | - runs-on: ubuntu-latest |
21 | | - steps: |
22 | | - - uses: getdevopspro/github-actions/buildx-bake/promote@v5.0.0 |
23 | | - with: |
24 | | - registry-password: ${{ secrets.GITHUB_TOKEN }} |
25 | | - version: 0.0.1-test |
26 | | - image-digests: | |
27 | | - [ |
28 | | - { |
29 | | - "name": "ghcr.io/getdevopspro/github-actions-nodejs-test", |
30 | | - "digest": "sha256:6988116c59bd02b9751a3db0e117e875c6bef5c5cd1308008992f496f8a93ecb" |
31 | | - } |
32 | | - ] |
| 18 | + # test: |
| 19 | + # name: Test |
| 20 | + # runs-on: ubuntu-latest |
| 21 | + # steps: |
| 22 | + # - uses: getdevopspro/github-actions/buildx-bake/promote@v6.0.0 |
| 23 | + # with: |
| 24 | + # registry-password: ${{ secrets.GITHUB_TOKEN }} |
| 25 | + # version: 0.0.1-test |
| 26 | + # image-digests: | |
| 27 | + # [ |
| 28 | + # { |
| 29 | + # "name": "ghcr.io/getdevopspro/github-actions-nodejs-test", |
| 30 | + # "digest": "sha256:6988116c59bd02b9751a3db0e117e875c6bef5c5cd1308008992f496f8a93ecb" |
| 31 | + # } |
| 32 | + # ] |
0 commit comments