Skip to content

Commit 6e61f62

Browse files
chore: migrate from npm to pnpm (#240)
* chore: migrate from npm to pnpm * Update .gitignore
1 parent e76fac9 commit 6e61f62

9 files changed

Lines changed: 8459 additions & 12865 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,23 @@ jobs:
1212
- name: Get sources
1313
uses: actions/checkout@v4
1414

15+
- name: Install pnpm
16+
uses: pnpm/action-setup@v4
17+
1518
- name: Use Node.js
1619
uses: actions/setup-node@v4
1720
with:
1821
node-version: '24'
22+
cache: 'pnpm'
1923

20-
- name: Restore npm cache
21-
uses: actions/cache@v4
22-
with:
23-
path: ./node_modules
24-
key: ${{ runner.os }}-node-modules
25-
26-
- name: Install dependencies (npm ci)
27-
run: npm ci --no-audit --no-fund
24+
- name: Install dependencies
25+
run: pnpm install --frozen-lockfile
2826

2927
- name: Install Internal Package
3028
uses: DevExpress/github-actions/install-internal-package@main
3129

3230
- name: Build
33-
run: npm run build -- --configuration=production --base-href https://devexpress.github.io/devextreme-angular-template/ --extract-licenses=false
31+
run: pnpm run build -- --configuration=production --base-href https://devexpress.github.io/devextreme-angular-template/ --extract-licenses=false
3432

3533
- name: Deploy
3634
uses: JamesIves/github-pages-deploy-action@ba1486788b0490a235422264426c45848eac35c6

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# Node
1010
/node_modules
11-
npm-debug.log
11+
pnpm-debug.log
1212
yarn-error.log
1313

1414
# IDEs and editors

0 commit comments

Comments
 (0)