Skip to content

Commit acb377a

Browse files
authored
Fix NJS path in lint workflow (#867)
The path changed after a refactor, this updates it in the workflow too
1 parent b668f1e commit acb377a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ jobs:
4848
- name: Get Prettier version
4949
id: prettier-version
5050
run: |
51-
echo "version=$(jq -r .devDependencies.prettier ${{ github.workspace }}/internal/nginx/modules/package.json)" >> $GITHUB_OUTPUT
51+
echo "version=$(jq -r .devDependencies.prettier ${{ github.workspace }}/internal/mode/static/nginx/modules/package.json)" >> $GITHUB_OUTPUT
5252
5353
- name: Run Prettier on NJS code
5454
id: prettier-run
5555
uses: rutajdash/prettier-cli-action@9e27606a9e18d40b6b4a2b4159e780241d2fbb3c # v1.0.1
5656
with:
57-
config_path: ${{ github.workspace }}/internal/nginx/modules/.prettierrc
58-
file_pattern: ${{ github.workspace }}/internal/nginx/modules/**/*.js
57+
config_path: ${{ github.workspace }}/internal/mode/static/nginx/modules/.prettierrc
58+
file_pattern: ${{ github.workspace }}/internal/mode/static/nginx/modules/**/*.js
5959
prettier_version: ${{ steps.prettier-version.outputs.version }}
6060

6161
- name: Prettier Output

0 commit comments

Comments
 (0)