Skip to content

Commit 9361d12

Browse files
committed
wip
1 parent ec31104 commit 9361d12

2 files changed

Lines changed: 26 additions & 11 deletions

File tree

.github/workflows/build.yaml

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,28 @@ on:
44
workflow_call:
55

66
jobs:
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+
]

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
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

0 commit comments

Comments
 (0)