Skip to content

Commit 6cff6ed

Browse files
dependabot[bot]milkshakeuk
authored andcommitted
build: bump the commitlint group with 2 updates
Bumps the commitlint group with 2 updates: [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) and [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional). Updates `@commitlint/cli` from 20.2.0 to 20.3.0 - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v20.3.0/@commitlint/cli) Updates `@commitlint/config-conventional` from 20.2.0 to 20.3.0 - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v20.3.0/@commitlint/config-conventional) --- updated-dependencies: - dependency-name: "@commitlint/cli" dependency-version: 20.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: commitlint - dependency-name: "@commitlint/config-conventional" dependency-version: 20.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: commitlint ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent 4e9247f commit 6cff6ed

File tree

3 files changed

+158
-22
lines changed

3 files changed

+158
-22
lines changed
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
name: Test Container
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
# paths:
7+
# - Dockerfile
8+
# - 'docs/**'
9+
# - 'src/**'
10+
# - eleventy.config.js
11+
# - package.json
12+
# - .hadolint.yaml
13+
# - test/docker
14+
15+
env:
16+
REGISTRY: ghcr.io
17+
IMAGE_NAME: ukhsa-collaboration/standards-org
18+
CI: true
19+
20+
jobs:
21+
# check-image:
22+
# name: Validate the image definition
23+
# runs-on: ubuntu-latest
24+
# permissions:
25+
# contents: read
26+
27+
# steps:
28+
# - name: Checkout code
29+
# uses: actions/checkout@v6
30+
# with:
31+
# fetch-depth: 0
32+
33+
# - name: Lint Dockerfile
34+
# run: docker run --rm -i -v './.hadolint.yaml:/.hadolint.yaml' hadolint/hadolint < Dockerfile
35+
36+
# - name: Validate build configuration
37+
# uses: docker/build-push-action@v6
38+
# with:
39+
# call: check
40+
41+
# build-test-image:
42+
# name: Run simple end to end tests on the dev container image
43+
# runs-on: ubuntu-latest
44+
# permissions:
45+
# contents: read
46+
47+
# steps:
48+
# - name: Checkout code
49+
# uses: actions/checkout@v6
50+
# with:
51+
# fetch-depth: 0
52+
53+
# - name: Use Node.js LTS
54+
# uses: actions/setup-node@v6
55+
# with:
56+
# node-version: '22.x'
57+
# cache: 'npm'
58+
59+
# - name: Install node dependencies
60+
# run: npm ci
61+
62+
# - name: Run tests
63+
# run: npm run test:container
64+
65+
build-test-and-push-image:
66+
name: Build the image and push to GHCR
67+
runs-on: ubuntu-latest
68+
permissions:
69+
contents: read
70+
packages: write
71+
attestations: write
72+
id-token: write
73+
steps:
74+
- name: Checkout code
75+
uses: actions/checkout@v6
76+
with:
77+
fetch-depth: 0
78+
79+
# - name: Use Node.js LTS
80+
# uses: actions/setup-node@v6
81+
# with:
82+
# node-version: '22.x'
83+
# cache: 'npm'
84+
85+
# - name: Install node dependencies
86+
# run: npm ci
87+
88+
- name: Log in to GHCR
89+
uses: docker/login-action@v3
90+
with:
91+
registry: ${{ env.REGISTRY }}
92+
username: ${{ github.actor }}
93+
password: ${{ secrets.GITHUB_TOKEN }}
94+
95+
- name: Extract metadata
96+
id: meta
97+
uses: docker/metadata-action@v5
98+
with:
99+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
100+
tags: |
101+
type=sha
102+
type=raw,value=latest,enable={{is_not_default_branch}}
103+
104+
- run: |
105+
echo "${{ steps.meta.outputs.tags }}"
106+
docker image ls
107+
name: echo tags
108+
109+
# - name: Build and export to Docker
110+
# id: build
111+
# uses: docker/build-push-action@v6
112+
# with:
113+
# context: .
114+
# load: true
115+
# tags: ${{ steps.meta.outputs.tags }}
116+
117+
# - name: Run tests
118+
# run: npm run test:container
119+
# env:
120+
# IMAGE: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
121+
122+
# - name: Build and push image
123+
# id: push
124+
# uses: docker/build-push-action@v6
125+
# with:
126+
# context: .
127+
# push: true
128+
# provenance: true
129+
# tags: ${{ steps.meta.outputs.tags }}
130+
131+
# - name: Generate artifact attestation
132+
# uses: actions/attest-build-provenance@v3
133+
# with:
134+
# subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
135+
# subject-digest: ${{ steps.push.outputs.digest }}
136+
# push-to-registry: true

package-lock.json

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
"titlecase": "^1.1.3"
4242
},
4343
"devDependencies": {
44-
"@commitlint/cli": "^20.2.0",
45-
"@commitlint/config-conventional": "^20.2.0",
44+
"@commitlint/cli": "^20.3.0",
45+
"@commitlint/config-conventional": "^20.3.0",
4646
"husky": "^9.1.7",
4747
"testcontainers": "^11.11.0",
4848
"remark-cli": "^12.0.1",

0 commit comments

Comments
 (0)