Skip to content

Commit dc572d2

Browse files
author
Aaasaasa Aleksandar Stajic
committed
feat:optipex change github workflow
1 parent 046d755 commit dc572d2

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

.github/workflows/lint.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,25 @@ name: Lint Check
44
on: [push, pull_request]
55

66
jobs:
7-
lint:
7+
lint-and-typecheck:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11-
- uses: pnpm/action-setup@v3
12-
with:
13-
version: 8
11+
1412
- uses: actions/setup-node@v4
1513
with:
16-
node-version: 20
14+
node-version: 24.5.0
1715
cache: 'pnpm'
18-
- run: pnpm install
19-
- run: pnpm lint:ci
16+
17+
- uses: pnpm/action-setup@v2
18+
with:
19+
version: 9 # ili tvoja verzija pnpm-a
20+
21+
- name: Install dependencies
22+
run: pnpm install --frozen-lockfile
23+
24+
- name: Lint
25+
run: pnpm lint:ci
26+
27+
- name: Type check
28+
run: pnpm typecheck

0 commit comments

Comments
 (0)