Skip to content

Commit 8dc3660

Browse files
committed
Fix GitHub CI
Squashed commit of the following: commit e9b5cc2 Merge: aeec12c ad48307 Author: scripthunter7 <[email protected]> Date: Thu Jan 23 11:07:14 2025 +0100 Merge branch 'master' into fix/github-tests commit aeec12c Author: scripthunter7 <[email protected]> Date: Wed Jan 22 18:54:20 2025 +0100 fix github ci
1 parent ad48307 commit 8dc3660

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

.github/workflows/test.yml

+17-6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: test
33

44
env:
55
NODE_VERSION: 20
6+
PNPM_VERSION: 8.15.1
67

78
on:
89
push:
@@ -21,22 +22,32 @@ jobs:
2122
with:
2223
# Number of commits to fetch. 0 indicates all history.
2324
fetch-depth: 0
25+
2426
- name: Setup pnpm
25-
uses: pnpm/action-setup@v3
27+
uses: pnpm/action-setup@v4
2628
with:
27-
version: 8
29+
version: ${{ env.PNPM_VERSION }}
30+
run_install: false
31+
2832
- name: Setup Node.js environment
2933
uses: actions/setup-node@v4
3034
with:
3135
node-version: ${{ env.NODE_VERSION }}
3236
cache: pnpm
37+
38+
- name: Install dependencies
39+
run: pnpm install
40+
41+
- name: List files
42+
run: ls -alt
43+
3344
- name: Run bash commands
3445
shell: bash
3546
run: |
36-
ls -alt
37-
38-
# install deps
39-
pnpm install
47+
# logger
48+
npx lerna run --scope @adguard/logger lint
49+
npx lerna run --scope @adguard/logger test
50+
npx lerna run --scope @adguard/logger build
4051
4152
# css-tokenizer
4253
npx lerna run --scope @adguard/css-tokenizer check-types

0 commit comments

Comments
 (0)