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
3 changes: 2 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ name: "CodeQL"

on: # yamllint disable-line rule:truthy
push:
branches: ["main", "develop", "feature/*"]
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
workflow_dispatch:
schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ name: Docker Image CI

on: # yamllint disable-line rule:truthy
push:
branches: ["main", "develop", "feature/*"]
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
workflow_dispatch:

env:
IMAGE_NAME: algorithm-exercises-ts
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ name: ESLint

on: # yamllint disable-line rule:truthy
push:
branches: ["main", "develop"]
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
workflow_dispatch:
schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/markdown-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ name: Markdown Lint

on: # yamllint disable-line rule:truthy
push:
branches: ["main", "develop", "feature/*"]
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
workflow_dispatch:

jobs:
build:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/node-coverage.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ name: Node.js CI Coverage

on: # yamllint disable-line rule:truthy
push:
branches: ["main", "develop", "feature/*"]
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
workflow_dispatch:

jobs:
build:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ name: Node.js CI Tests

on: # yamllint disable-line rule:truthy
push:
branches: ["main", "develop", "feature/*"]
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
os: [
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/snyk-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
name: Snyk Code analysis

on: # yamllint disable-line rule:truthy
push:
branches: ["main", "develop", "feature/*"]
pull_request:
branches: ["main"]
push:
workflow_dispatch:

jobs:
security:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ name: YAML lint

on: # yamllint disable-line rule:truthy
push:
branches: ["main", "develop", "feature/*"]
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
workflow_dispatch:

jobs:
lint:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('frequency_queries', () => {
TEST_CASES.forEach((value) => {
const answer = freqQuery(value.input);

console.debug(`checkMagazine(${value.input}) solution found: ${answer}`);
console.debug(`freqQuery(${value.input}) solution found: ${answer}`);

expect(answer).toStrictEqual(value.expected);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ describe('sherlock_and_anagrams', () => {
testSet.tests.forEach((test) => {
const answer = sherlockAndAnagrams(test.input);

console.debug(`checkMagazine(${test.input}) solution found: ${answer}`);
console.debug(
`sherlockAndAnagrams(${test.input}) solution found: ${answer}`
);

expect(answer).toStrictEqual(test.expected);
});
Expand Down