Skip to content

Commit

Permalink
Merge pull request #131 from wayofdev/feat/add-node-16
Browse files Browse the repository at this point in the history
feat: add Node 16 support for legacy projects
  • Loading branch information
jevgenijsblaus authored Dec 13, 2023
2 parents 949aa4f + 59bfe3e commit fdd3b70
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 12 deletions.
10 changes: 4 additions & 6 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
# Documentation https://github.com/marketplace/actions/labeler

"type: documentation":
- assets/**/*
- .github/*
- ./*.md
- changed-files:
- any-glob-to-any-file: ['assets/**/*', '.github/*.yml', './*.md']

"type: maintenance":
- .dependabot/*
- .github/workflows/*
- src/**/goss.yaml.j2
- changed-files:
- any-glob-to-any-file: ['.dependabot/*', '.github/workflows/*', 'src/**/goss.yaml.j2']

...
2 changes: 1 addition & 1 deletion .github/workflows/build-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: |
echo 'matrix={
"os_name": ["alpine"],
"node_version": ["lts", "18", "20"]
"node_version": ["lts", "16", "18", "20"]
}' | tr -d '\n' >> $GITHUB_OUTPUT
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: |
echo 'matrix={
"os_name": ["alpine"],
"node_version": ["lts", "18", "20"]
"node_version": ["lts", "16", "18", "20"]
}' | tr -d '\n' >> $GITHUB_OUTPUT
- name: ⚙️ Get version for image tag
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: fix-encoding-pragma

- repo: https://github.com/adrienverge/yamllint
rev: v1.31.0
rev: v1.33.0
hooks:
- id: yamllint
files: \.(yaml|yml)$
types: [file, yaml]
entry: yamllint --strict

- repo: https://github.com/commitizen-tools/commitizen
rev: 3.2.2
rev: v3.13.0
hooks:
- id: commitizen
stages:
- commit-msg

- repo: https://github.com/ansible/ansible-lint
rev: v6.16.1
rev: v6.22.1
hooks:
- id: ansible-lint
entry: ansible-lint . --force-color
Expand Down
4 changes: 4 additions & 0 deletions src/Dockerfiles/all/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ RUN set -eux; \
curl \
git \
libc6-compat \
python3 \
py3-pip \
build-base \
libpng-dev \
&& ARCH=$(uname -m) && \
if [ "$ARCH" = "x86_64" ]; then \
curl -fsSL "https://github.com/pnpm/pnpm/releases/download/v{{ pnpm_version }}/pnpm-linuxstatic-x64" -o /bin/pnpm; \
Expand Down
4 changes: 4 additions & 0 deletions src/inventory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,9 @@ all:
ansible_connection: local
node_version: 18
os_name: alpine
16-alpine:
ansible_connection: local
node_version: 16
os_name: alpine

...

0 comments on commit fdd3b70

Please sign in to comment.