Skip to content

Commit

Permalink
COMDOX-454: Prepare for required workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dshevtsov committed Mar 9, 2023
1 parent 0cce120 commit 6dd06c9
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 23 deletions.
File renamed without changes.
6 changes: 6 additions & 0 deletions .github/super-linter.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
IGNORE_GITIGNORED_FILES=true
VALIDATE_GITLEAKS=true
VALIDATE_MARKDOWN=true
MARKDOWN_CONFIG_FILE=.markdownlint.yml
VALIDATE_YAML=true
VALIDATE_JSON=true
16 changes: 4 additions & 12 deletions .github/workflows/test-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
# Full git history is needed to get a proper list of changed files
# within `super-linter`
fetch-depth: 0
- run: cat ".github/super-linter.env" >> "$GITHUB_ENV"

################################
# Run Linters against code base #
Expand All @@ -49,21 +50,12 @@ jobs:
# Use full version number to avoid cases when a next
# released version is buggy
# About slim image: https://github.com/github/super-linter#slim-image
uses: github/super-linter/slim@v4.9.4
uses: github/super-linter/slim@v4.10.1
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BRANCH: main
VALIDATE_ALL_CODEBASE: false
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_GITLEAKS: true
#
# The Markdown rules are defined at
# .github/linters/.markdown-lint.yml
#
# Documentation on rules:
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md
VALIDATE_MARKDOWN: true
VALIDATE_YAML: true

- name: Setup Node v16 for Yarn v3
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .markdownlint.yml
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"url": "https://github.com/AdobeDocs/commerce-php"
},
"dependencies": {
"@adobe/gatsby-theme-aio": "4.7.11",
"@adobe/gatsby-theme-aio": "4.8.3",
"gatsby": "4.25.4",
"react": "^17.0.2",
"react-dom": "^17.0.2"
Expand All @@ -23,7 +23,8 @@
"build": "gatsby build",
"serve": "gatsby serve",
"clean": "gatsby clean",
"test:links": "remark src/pages --quiet --frail"
"test:links": "remark src/pages --quiet --frail",
"lint": "docker run --rm -e RUN_LOCAL=true --env-file .github/super-linter.env -v \"$PWD\":/tmp/lint github/super-linter:slim-v4.10.1"
},
"remarkConfig": {
"plugins": [
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ __metadata:
languageName: node
linkType: hard

"@adobe/gatsby-theme-aio@npm:4.7.11":
version: 4.7.11
resolution: "@adobe/gatsby-theme-aio@npm:4.7.11"
"@adobe/gatsby-theme-aio@npm:4.8.3":
version: 4.8.3
resolution: "@adobe/gatsby-theme-aio@npm:4.8.3"
dependencies:
"@adobe/focus-ring-polyfill": ^0.1.5
"@adobe/gatsby-source-github-file-contributors": ^0.3.1
Expand Down Expand Up @@ -125,7 +125,7 @@ __metadata:
gatsby: ^4.22.0
react: ^17.0.2
react-dom: ^17.0.2
checksum: ab1328e1c66a67e609b28cb0f15be255b472130d0c1c06c72383906904415730252f5139ffce24e7574003488570ce217c6090767df5f07c77f4a12307a0c782
checksum: 8969e2ce703f7be4a13086b201dd6928237d6ebe9c003708f8f22f058d5982242537a1307a297c2562d175a5d5f058dfa123dbb305fc5e392257bb3f206d248d
languageName: node
linkType: hard

Expand Down Expand Up @@ -6108,9 +6108,9 @@ __metadata:
linkType: hard

"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001370, caniuse-lite@npm:^1.0.30001373":
version: 1.0.30001457
resolution: "caniuse-lite@npm:1.0.30001457"
checksum: f311a7c5098681962402a86a0a367014ee91c3135395ee68bbfaf45caf0e36d581e42d7c5b1526ce99484a228e6cf5cf0e400678292c65f5a21512a3fc7a5fb6
version: 1.0.30001464
resolution: "caniuse-lite@npm:1.0.30001464"
checksum: 67cdee102c1660d62d7b9dbd4740bb7af096236618f2509fd2e0039d50db5f02fb87c21d90b6d573fdcf50deaf3c84503d009e871502b5c221d0ba1dec18ba11
languageName: node
linkType: hard

Expand Down Expand Up @@ -6627,7 +6627,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "commerce-php@workspace:."
dependencies:
"@adobe/gatsby-theme-aio": 4.7.11
"@adobe/gatsby-theme-aio": 4.8.3
gatsby: 4.25.4
react: ^17.0.2
react-dom: ^17.0.2
Expand Down

0 comments on commit 6dd06c9

Please sign in to comment.