Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "ci-github-nodejs",
"name": "hoverkraft-tech/ci-github-nodejs",
"image": "mcr.microsoft.com/devcontainers/base:debian",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
Expand Down
2 changes: 2 additions & 0 deletions .github/linters/.jscpd.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"**/node_modules/**",
"**/.pnpm-store/**",
"**/pnpm-workspace.yaml",
"**/pnpm-lock.yaml",
"**/yarn.lock",
"**/coverage/**",
"**/package-lock.json",
"**/dist/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/__pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

permissions: {}

# jscpd:ignore-start
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -23,3 +24,4 @@ jobs:
issues: write
security-events: write
statuses: write
# jscpd:ignore-end
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
# jscpd:ignore-start
strategy:
matrix:
include:
Expand Down Expand Up @@ -52,7 +53,9 @@ jobs:
exit 1
fi

- name: Act - Run "has-installed-dependencies" action
- name:
Act - Run "has-installed-dependencies" action
# jscpd:ignore-end
id: act-has-installed-dependencies
uses: ./actions/has-installed-dependencies
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/__test-action-setup-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- working-directory: tests/yarn
run-script-command: yarn
steps:
# jscpd:ignore-start
- name: Arrange - Checkout sources
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand All @@ -40,6 +41,7 @@ jobs:
uses: ./actions/setup-node
with:
working-directory: ${{ matrix.working-directory }}
# jscpd:ignore-end

- name: Assert - Check "setup-node" outputs
env:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/__test-workflow-continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
run: test -f tests/npm/dist/test.txt

act-without-container-and-github-reports:
# jscpd:ignore-start
name: Act - Run the continuous integration workflow (without container and GitHub reports)
uses: ./.github/workflows/continuous-integration.yml
permissions:
Expand All @@ -55,6 +56,7 @@ jobs:
}
test: |
{"coverage": "github"}
# jscpd:ignore-end

arrange-with-container:
name: Arrange - Build container image for CI workflow
Expand Down Expand Up @@ -149,6 +151,7 @@ jobs:
container-password: ${{ secrets.GITHUB_TOKEN }}

assert-with-container-advanced:
# jscpd:ignore-start
name: Assert - Ensure build artifact has been uploaded (with container advanced)
runs-on: ubuntu-latest
needs: act-with-container-advanced
Expand All @@ -163,3 +166,4 @@ jobs:

- name: Check the build artifacts
run: test -f ${{ runner.temp }}/usr/src/app/dist/test.txt
# jscpd:ignore-end
16 changes: 16 additions & 0 deletions .github/workflows/continuous-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@

<!-- badges:end -->

<!--
// jscpd:ignore-start
-->

<!-- overview:start -->

## Overview
Expand Down Expand Up @@ -537,6 +541,14 @@ jobs:

<!-- examples:end -->

<!--
// jscpd:ignore-end
-->

<!--
// jscpd:ignore-start
-->

<!-- contributing:start -->

## Contributing
Expand Down Expand Up @@ -569,3 +581,7 @@ For more details, see the [license](http://choosealicense.com/licenses/mit/).
This documentation was automatically generated by [CI Dokumentor](https://github.com/hoverkraft-tech/ci-dokumentor).

<!-- generated:end -->

<!--
// jscpd:ignore-end
-->
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/node_modules
/tests/*/node_modules
/tests/*/pnpm-workspace.yaml
/tests/*/coverage
/tests/yarn/package-lock.json
/dist
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/*
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/hoverkraft-tech/docker-base-images/super-linter:0.4.0
FROM ghcr.io/hoverkraft-tech/docker-base-images/super-linter:0.4.3

HEALTHCHECK --interval=5m --timeout=10s --start-period=30s --retries=3 CMD ["/bin/sh","-c","test -d /github/home"]
ARG UID=1000
Expand Down
83 changes: 5 additions & 78 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,86 +20,13 @@ lint-fix: ## Execute linting and fix
)

deps-install: ## Install dependencies for all package.json files under tests/
@set -u; \
packages="$$(find tests -type f -name package.json -not -path '*/node_modules/*' -print | sort)"; \
echo "Installing dependencies for package.json files under tests/ ..."; \
for pkg in $$packages; do \
pkg_dir="$$(dirname "$$pkg")"; \
pm_field="$$(sed -n 's/.*"packageManager"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p' "$$pkg" | head -n 1)"; \
pm=""; \
case "$$pm_field" in \
pnpm@*) pm="pnpm" ;; \
yarn@*) pm="yarn" ;; \
npm@*) pm="npm" ;; \
*) \
if [ -f "$$pkg_dir/pnpm-lock.yaml" ]; then \
pm="pnpm"; \
elif [ -f "$$pkg_dir/yarn.lock" ]; then \
pm="yarn"; \
else \
pm="npm"; \
fi; \
;; \
esac; \
echo "---"; \
echo "Detected $$pm in $$pkg_dir"; \
case "$$pm" in \
npm) (cd "$$pkg_dir" && npm install) ;; \
pnpm) (cd "$$pkg_dir" && corepack pnpm install) ;; \
yarn) (cd "$$pkg_dir" && corepack yarn install) ;; \
esac; \
done
@sh scripts/test-packages.sh install

deps-update-interactive: ## Interactively update dependencies under tests/
@sh scripts/test-packages.sh update-interactive

deps-audit-fix: ## Execute dependency audit fix
@set -u; \
overall_status=0; \
packages="$$(find tests -type f -name package.json -not -path '*/node_modules/*' -print | sort)"; \
echo "Running dependency audit/fix for package.json files under tests/ ..."; \
for pkg in $$packages; do \
pkg_dir="$$(dirname "$$pkg")"; \
pm_field="$$(sed -n 's/.*"packageManager"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p' "$$pkg" | head -n 1)"; \
pm=""; \
case "$$pm_field" in \
pnpm@*) pm="pnpm" ;; \
yarn@*) pm="yarn" ;; \
npm@*) pm="npm" ;; \
*) \
if [ -f "$$pkg_dir/pnpm-lock.yaml" ]; then \
pm="pnpm"; \
elif [ -f "$$pkg_dir/yarn.lock" ]; then \
pm="yarn"; \
else \
pm="npm"; \
fi; \
;; \
esac; \
echo "---"; \
echo "Detected $$pm in $$pkg_dir"; \
case "$$pm" in \
npm) \
(cd "$$pkg_dir" && npm install); \
echo "npm audit fix in $$pkg_dir"; \
if ! (cd "$$pkg_dir" && npm audit fix); then \
overall_status=1; \
fi; \
;; \
pnpm) \
(cd "$$pkg_dir" && corepack pnpm install); \
echo "pnpm audit --fix=override in $$pkg_dir"; \
if ! (cd "$$pkg_dir" && corepack pnpm audit --fix=override); then \
overall_status=1; \
fi; \
;; \
yarn) \
(cd "$$pkg_dir" && corepack yarn install); \
echo "yarn audit in $$pkg_dir"; \
if ! (cd "$$pkg_dir" && corepack yarn audit); then \
overall_status=1; \
fi; \
;; \
esac; \
done; \
exit $$overall_status
@sh scripts/test-packages.sh audit-fix

ci: ## Execute CI tasks
$(MAKE) deps-install
Expand Down
8 changes: 8 additions & 0 deletions actions/build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
![GitHub Verified Creator](https://img.shields.io/badge/GitHub-Verified%20Creator-4493F8?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJyZ2IoN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jkyN2MuMjU2LjM0OC40MjQuNzUzLjQ4OSAxLjE4bC4xNzQgMS4xMzdjLjA3OC41MDkuNDc4LjkwOS45ODcuOTg3bDEuMTM2LjE3NGEyLjY3IDIuNjcgMCAwIDEgMS4xOC40ODlsLjkyOC42OGMuNDE0LjMwNS45NzkuMzA1IDEuMzk0IDBsLjkyNy0uNjhhMi42NyAyLjY3IDAgMCAxIDEuMTgtLjQ4OWwxLjEzNy0uMTc0YTEuMTggMS4xOCAwIDAgMCAuOTg3LS45ODdsLjE3NC0xLjEzNmEyLjY3IDIuNjcgMCAwIDEgLjQ4OS0xLjE4bC42OC0uOTI4YTEuMTc2IDEuMTc2IDAgMCAwIDAtMS4zOTRsLS42OC0uOTI3YTIuNjg2IDIuNjg2IDAgMCAxLS40ODktMS4xOGwtLjE3NC0xLjEzN2ExLjE3OSAxLjE3OSAwIDAgMC0uOTg3LS45ODdsLTEuMTM2LS4xNzRhMi42NzcgMi42NzcgMCAwIDEtMS4xOC0uNDg5bC0uOTI4LS42OGExLjE3NiAxLjE3NiAwIDAgMC0xLjM5NCAwWk0xMS4yOCA2Ljc4bC0zLjc1IDMuNzVhLjc1Ljc1IDAgMCAxLTEuMDYgMEw0LjcyIDguNzhhLjc1MS43NTEgMCAwIDEgLjAxOC0xLjA0Mi43NTEuNzUxIDAgMCAxIDEuMDQyLS4wMThMNyA4Ljk0bDMuMjItMy4yMmEuNzUxLjc1MSAwIDAgMSAxLjA0Mi4wMTguNzUxLjc1MSAwIDAgMSAuMDE4IDEuMDQyWiI+PC9wYXRoPgo8L3N2Zz4K)

<!-- badges:end -->

<!--
// jscpd:ignore-start
-->
<!-- overview:start -->

## Overview
Expand Down Expand Up @@ -121,6 +125,10 @@ Action to build Node.js projects with support for custom commands, environment v
<!-- examples:start -->
<!-- examples:end -->

<!--
// jscpd:ignore-end
-->

<!--
// jscpd:ignore-start
-->
Expand Down
2 changes: 2 additions & 0 deletions actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ outputs:
runs:
using: "composite"
steps:
# jscpd:ignore-start
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@3a27d31e9ccefbe9609cc9165017ed100ff34a22 # 0.38.0
with:
source-path: ${{ github.action_path }}/..
Expand Down Expand Up @@ -93,6 +94,7 @@ runs:
uses: ./../self-actions/get-package-manager
with:
working-directory: ${{ steps.working-directory.outputs.absolute-path }}
# jscpd:ignore-end

- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
env:
Expand Down
2 changes: 2 additions & 0 deletions actions/codecov/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ inputs:
runs:
using: "composite"
steps:
# jscpd:ignore-start
- id: working-directory
uses: hoverkraft-tech/ci-github-common/actions/working-directory@3a27d31e9ccefbe9609cc9165017ed100ff34a22 # 0.38.0
with:
working-directory: ${{ inputs.working-directory }}
enforce-path-in-workspace: "false"
# jscpd:ignore-end

# Check and install dependencies for codecov
- name: Check Codecov dependencies
Expand Down
2 changes: 2 additions & 0 deletions actions/dependencies-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ inputs:
runs:
using: "composite"
steps:
# jscpd:ignore-start
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@3a27d31e9ccefbe9609cc9165017ed100ff34a22 # 0.38.0
with:
source-path: ${{ github.action_path }}/..
Expand All @@ -54,6 +55,7 @@ runs:
uses: ./../self-actions/get-package-manager
with:
working-directory: ${{ steps.working-directory.outputs.absolute-path }}
# jscpd:ignore-end

- name: ♻️ NX cache
if: fromJson(steps.has-installed-dependencies.outputs.installed-dependencies).nx == true
Expand Down
14 changes: 11 additions & 3 deletions actions/has-installed-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ outputs:
runs:
using: "composite"
steps:
# jscpd:ignore-start
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@3a27d31e9ccefbe9609cc9165017ed100ff34a22 # 0.38.0
with:
source-path: ${{ github.action_path }}/..
Expand All @@ -39,6 +40,8 @@ runs:
uses: ./../self-actions/get-package-manager
with:
working-directory: ${{ steps.working-directory.outputs.absolute-path }}
# jscpd:ignore-end

- id: has-dependencies
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
env:
Expand Down Expand Up @@ -150,9 +153,14 @@ runs:
allInstalledDependencies = await parseDependencies(
`${process.env.PACKAGE_MANAGER} list --depth=1 --json --no-color`
);
(allInstalledDependencies || []).reduce((accumulator, currentValue) => {
return { ...accumulator, ...(currentValue?.dependencies || {}) };
}, []);
allInstalledDependencies = (allInstalledDependencies || []).reduce((accumulator, currentValue) => {
return {
...accumulator,
...(currentValue?.dependencies || {}),
...(currentValue?.devDependencies || {}),
...(currentValue?.optionalDependencies || {}),
};
}, {});
parser = parseNpmDependencies;
break;

Expand Down
8 changes: 8 additions & 0 deletions actions/lint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
![GitHub Verified Creator](https://img.shields.io/badge/GitHub-Verified%20Creator-4493F8?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJyZ2IoNjgsIDE0NywgMjQ4KSI+CiAgPHBhdGggZD0ibTkuNTg1LjUyLjkyOS42OGMuMTUzLjExMi4zMzEuMTg2LjUxOC4yMTVsMS4xMzguMTc1YTIuNjc4IDIuNjc4IDAgMCAxIDIuMjQgMi4yNGwuMTc0IDEuMTM5Yy4wMjkuMTg3LjEwMy4zNjUuMjE1LjUxOGwuNjguOTI4YTIuNjc3IDIuNjc3IDAgMCAxIDAgMy4xN2wtLjY4LjkyOGExLjE3NCAxLjE3NCAwIDAgMC0uMjE1LjUxOGwtLjE3NSAxLjEzOGEyLjY3OCAyLjY3OCAwIDAgMS0yL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42OC0uOTI4YTEuMTc2IDEuMTc2IDAgMCAwIDAtMS4zOTRsLS42OC0uOTI3YTIuNjg2IDIuNjg2IDAgMCAxLS40ODktMS4xOGwtLjE3NC0xLjEzN2ExLjE3OSAxLjE3OSAwIDAgMC0uOTg3LS45ODdsLTEuMTM2LS4xNzRhMi42NzcgMi42NzcgMCAwIDEtMS4xOC0uNDg5bC0uOTI4LS42OGExLjE3NiAxLjE3NiAwIDAgMC0xLjM5NCAwWk0xMS4yOCA2Ljc4bC0zLjc1IDMuNzVhLjc1Ljc1IDAgMCAxLTEuMDYgMEw0LjcyIDguNzhhLjc1MS43NTEgMCAwIDEgLjAxOC0xLjA0Mi43NTEuNzUxIDAgMCAxIDEuMDQyLS4wMThMNyA4Ljk0bDMuMjItMy4yMmEuNzUxLjc1MSAwIDAgMSAxLjA0Mi4wMTguNzUxLjc1MSAwIDAgMSAuMDE4IDEuMDQyWiI+PC9wYXRoPgo8L3N2Zz4K)

<!-- badges:end -->

<!--
// jscpd:ignore-start
-->
<!-- overview:start -->

## Overview
Expand Down Expand Up @@ -97,6 +101,10 @@ Action to lint Node.js projects with support for pull request reporting and anno
<!-- examples:start -->
<!-- examples:end -->

<!--
// jscpd:ignore-end
-->

<!--
// jscpd:ignore-start
-->
Expand Down
4 changes: 4 additions & 0 deletions actions/lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ inputs:
runs:
using: "composite"
steps:
# jscpd:ignore-start
- uses: hoverkraft-tech/ci-github-common/actions/local-actions@3a27d31e9ccefbe9609cc9165017ed100ff34a22 # 0.38.0
with:
source-path: ${{ github.action_path }}/..
Expand All @@ -69,13 +70,16 @@ runs:
uses: ./../self-actions/get-package-manager
with:
working-directory: ${{ steps.working-directory.outputs.absolute-path }}
# jscpd:ignore-end

- id: run-lint
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
# jscpd:ignore-start
env:
RUN_LINT_COMMAND: ${{ inputs.container == 'true' && steps.get-package-manager.outputs.run-script-command || steps.setup-node.outputs.run-script-command }}
WORKING_DIRECTORY: ${{ steps.working-directory.outputs.absolute-path }}
LINT_COMMAND: ${{ inputs.command }}
# jscpd:ignore-end
with:
script: |
const workingDirectory = process.env.WORKING_DIRECTORY;
Expand Down
Loading
Loading