Skip to content

Commit

Permalink
downgraded node version due to github
Browse files Browse the repository at this point in the history
  • Loading branch information
p3t3r67x0 committed Oct 2, 2023
1 parent b4290f7 commit a3de086
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/lint-html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,15 @@ on:
paths:
- 'package.json'
- '.htmlhintrc'
- '.vnurc'
- '**/*.html'
pull_request:
paths:
- 'package.json'
- '.htmlhintrc'
- '.vnurc'
- '**/*.html'

env:
NODE_VERSION: 20
NODE_VERSION: 18

jobs:
lint-html:
Expand All @@ -30,12 +28,13 @@ jobs:
- name: Install latest nodejs
uses: actions/setup-node@v3
with:
cache: npm
node-version: ${{ env.NODE_VERSION }}
cache: npm
node-version: ${{ env.NODE_VERSION }}

- name: Install npm dependencies
run: npm ci
node-version: ${{ env.NODE_VERSION }}
with:
node-version: ${{ env.NODE_VERSION }}

- name: Install faster package manager
run: npm ci -g pnpm
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/lint-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
pull_request:

env:
NODE_VERSION: 20
NODE_VERSION: 18

jobs:
lint-js:
Expand All @@ -27,11 +27,12 @@ jobs:
uses: actions/setup-node@v3
with:
cache: npm
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ env.NODE_VERSION }}

- name: Install npm dependencies
run: npm ci
node-version: ${{ env.NODE_VERSION }}
with:
node-version: ${{ env.NODE_VERSION }}

- name: Install faster package manager
run: npm ci -g pnpm
Expand All @@ -40,4 +41,4 @@ jobs:
run: pnpm install

- name: Run lint specified in package.json
run: pnpm lint
run: pnpm lint:js

0 comments on commit a3de086

Please sign in to comment.