Skip to content

Commit

Permalink
fixed syntax errors in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
p3t3r67x0 committed Oct 2, 2023
1 parent 31066d2 commit b06681a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/lint-html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ on:
paths:
- 'package.json'
- '.htmlhintrc'
- '**/*.html'
pull_request:
paths:
- 'package.json'
- '.htmlhintrc'
- '**/*.html'

env:
NODE_VERSION: 18
Expand All @@ -28,7 +26,8 @@ jobs:
- name: Install latest nodejs
uses: actions/setup-node@v3
with:
cache: npm
cache: npm
node-version: ${{ env.NODE_VERSION }}

- name: Install npm dependencies
run: npm ci
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/lint-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ on:
- '.eslintignore'
- '.eslintrc.yml'
- '.htmlhintrc'
- '**/*.js'
pull_request:
- 'package.json'
- '.eslintignore'
- '.eslintrc.yml'
- '.htmlhintrc'

env:
NODE_VERSION: 18
Expand All @@ -27,6 +30,7 @@ jobs:
uses: actions/setup-node@v3
with:
cache: npm
node-version: ${{ env.NODE_VERSION }}

- name: Install npm dependencies
run: npm ci
Expand Down

0 comments on commit b06681a

Please sign in to comment.