File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 workflow_call :
55
66jobs :
7- ci :
8- name : CI
9- uses : getdevopspro/github-actions/.github/workflows/pull-request.yml@v4.0.6
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/pull-request.yml@v4.1.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+
18+ test :
19+ name : Test
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : getdevopspro/github-actions/buildx-bake/prepare@v4.1.0
23+ with :
24+ version : 0.0.1-test
25+ image-digests : |
26+ [
27+ {
28+ "name": "ghcr.io/getdevopspro/github-actions-nodejs-test",
29+ "digest": "sha256:6988116c59bd02b9751a3db0e117e875c6bef5c5cd1308008992f496f8a93ecb"
30+ }
31+ ]
Original file line number Diff line number Diff line change 2626
2727 release :
2828 needs : build
29- uses : getdevopspro/github-actions/.github/workflows/promote.yml@v4.0.6
29+ uses : getdevopspro/github-actions/.github/workflows/promote.yml@v4.1.0
3030 with :
3131 version-package : package.json
3232 git-add-files : package.json
You can’t perform that action at this time.
0 commit comments