File tree Expand file tree Collapse file tree
products/userale/packages/flagon-userale Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,14 +51,19 @@ jobs:
5151 with :
5252 node-version : ${{ matrix.node-version }}
5353
54+ - name : Setup pnpm v10
55+ uses : pnpm/action-setup@v4
56+ with :
57+ version : 10
58+
5459 - name : Install dependencies
55- run : npm ci
60+ run : pnpm i
5661
5762 - name : Format
58- run : npm run format
63+ run : pnpm format
5964
6065 - name : Lint
61- run : npm run lint
66+ run : pnpm lint
6267
6368 test :
6469 runs-on : ubuntu-latest
7580 with :
7681 node-version : ${{ matrix.node-version }}
7782
83+ - name : Setup pnpm v10
84+ uses : pnpm/action-setup@v4
85+ with :
86+ version : 10
87+
7888 - name : Install dependencies
79- run : npm ci
89+ run : pnpm i
8090
8191 - name : Install Playwright Browsers
8292 run : |
@@ -87,13 +97,13 @@ jobs:
8797 - name : Build
8898 run : |
8999 export PATH=${PATH}:`go env GOPATH`/bin
90- npm run build
100+ pnpm build
91101
92102 - name : Test
93103 run : |
94104 export DISPLAY=:99
95105 Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
96- npm test
106+ pnpm test
97107
98108 # TODO: add automatic release notes
99109 # TODO: add cronjobs for automatically triggering new release candidates
Original file line number Diff line number Diff line change 2121
2222![ Node.js CI] ( https://github.com/apache/flagon-useralejs/workflows/Node.js%20CI/badge.svg )
2323[ ![ Known Vulnerabilities] ( https://snyk.io/test/npm/flagon-userale/badge.svg )] ( https://snyk.io/test/npm/flagon-userale )
24- ![ Maintenance] ( https://img.shields.io/maintenance/yes/2024 )
24+ ![ Maintenance] ( https://img.shields.io/maintenance/yes/2025 )
2525![ npm] ( https://img.shields.io/npm/v/flagon-userale )
2626[ ![ License] ( https://img.shields.io/badge/license-Apache--2.0-blue.svg )] ( http://www.apache.org/licenses/LICENSE-2.0 )
2727![ Node.js] ( https://img.shields.io/badge/Node.js%20Support-16.x%2C%2018.x-orange )
You can’t perform that action at this time.
0 commit comments