Skip to content

Commit fdd3b70

Browse files
Merge pull request #131 from wayofdev/feat/add-node-16
feat: add Node 16 support for legacy projects
2 parents 949aa4f + 59bfe3e commit fdd3b70

File tree

6 files changed

+18
-12
lines changed

6 files changed

+18
-12
lines changed

.github/labeler.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
# Documentation https://github.com/marketplace/actions/labeler
55

66
"type: documentation":
7-
- assets/**/*
8-
- .github/*
9-
- ./*.md
7+
- changed-files:
8+
- any-glob-to-any-file: ['assets/**/*', '.github/*.yml', './*.md']
109

1110
"type: maintenance":
12-
- .dependabot/*
13-
- .github/workflows/*
14-
- src/**/goss.yaml.j2
11+
- changed-files:
12+
- any-glob-to-any-file: ['.dependabot/*', '.github/workflows/*', 'src/**/goss.yaml.j2']
1513

1614
...

.github/workflows/build-latest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: |
2121
echo 'matrix={
2222
"os_name": ["alpine"],
23-
"node_version": ["lts", "18", "20"]
23+
"node_version": ["lts", "16", "18", "20"]
2424
}' | tr -d '\n' >> $GITHUB_OUTPUT
2525
2626
build:

.github/workflows/build-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: |
2121
echo 'matrix={
2222
"os_name": ["alpine"],
23-
"node_version": ["lts", "18", "20"]
23+
"node_version": ["lts", "16", "18", "20"]
2424
}' | tr -d '\n' >> $GITHUB_OUTPUT
2525
2626
- name: ⚙️ Get version for image tag

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,29 @@
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.4.0
5+
rev: v4.5.0
66
hooks:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
99
- id: fix-encoding-pragma
1010

1111
- repo: https://github.com/adrienverge/yamllint
12-
rev: v1.31.0
12+
rev: v1.33.0
1313
hooks:
1414
- id: yamllint
1515
files: \.(yaml|yml)$
1616
types: [file, yaml]
1717
entry: yamllint --strict
1818

1919
- repo: https://github.com/commitizen-tools/commitizen
20-
rev: 3.2.2
20+
rev: v3.13.0
2121
hooks:
2222
- id: commitizen
2323
stages:
2424
- commit-msg
2525

2626
- repo: https://github.com/ansible/ansible-lint
27-
rev: v6.16.1
27+
rev: v6.22.1
2828
hooks:
2929
- id: ansible-lint
3030
entry: ansible-lint . --force-color

src/Dockerfiles/all/Dockerfile.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ RUN set -eux; \
2323
curl \
2424
git \
2525
libc6-compat \
26+
python3 \
27+
py3-pip \
28+
build-base \
29+
libpng-dev \
2630
&& ARCH=$(uname -m) && \
2731
if [ "$ARCH" = "x86_64" ]; then \
2832
curl -fsSL "https://github.com/pnpm/pnpm/releases/download/v{{ pnpm_version }}/pnpm-linuxstatic-x64" -o /bin/pnpm; \

src/inventory.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,9 @@ all:
1616
ansible_connection: local
1717
node_version: 18
1818
os_name: alpine
19+
16-alpine:
20+
ansible_connection: local
21+
node_version: 16
22+
os_name: alpine
1923

2024
...

0 commit comments

Comments
 (0)