Skip to content

Commit 4f5b26c

Browse files
authored
ci: use npm instead of yarn (#471)
* ci: use npm instead of yarn * build: fix peer deps
1 parent 52ee663 commit 4f5b26c

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
cache-name: cache-node-modules
1919
with:
2020
path: ~/.npm
21-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
21+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }}
2222
restore-keys: |
2323
${{ runner.os }}-build-${{ env.cache-name }}-
2424
${{ runner.os }}-build-
@@ -28,6 +28,6 @@ jobs:
2828
with:
2929
node-version: ${{ matrix.node-version }}
3030
- name: Install dependencies
31-
run: yarn
31+
run: npm ci
3232
- name: Run build
3333
run: npm run build

.github/workflows/lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
cache-name: cache-node-modules
1919
with:
2020
path: ~/.npm
21-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
21+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }}
2222
restore-keys: |
2323
${{ runner.os }}-build-${{ env.cache-name }}-
2424
${{ runner.os }}-build-
@@ -28,6 +28,6 @@ jobs:
2828
with:
2929
node-version: ${{ matrix.node-version }}
3030
- name: Install dependencies
31-
run: yarn
31+
run: npm ci
3232
- name: Run lint
3333
run: npm run lint

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
cache-name: cache-node-modules
1919
with:
2020
path: ~/.npm
21-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
21+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }}
2222
restore-keys: |
2323
${{ runner.os }}-build-${{ env.cache-name }}-
2424
${{ runner.os }}-build-
@@ -28,6 +28,6 @@ jobs:
2828
with:
2929
node-version: ${{ matrix.node-version }}
3030
- name: Install dependencies
31-
run: yarn
31+
run: npm ci
3232
- name: Run tests
3333
run: npm run test_ci

package-lock.json

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@angular/router": "^18.2.8",
3535
"bootstrap": "^5.3.1",
3636
"marked": "7.0.4",
37-
"ngx-bootstrap": "^12.0.0",
37+
"ngx-bootstrap": "^18.0.0",
3838
"rxjs": "~7.8.0",
3939
"zone.js": "~0.14.2"
4040
},

0 commit comments

Comments
 (0)