Skip to content

Commit 3f4756a

Browse files
chore: angular-17 (#592)
1 parent 65eb869 commit 3f4756a

File tree

17 files changed

+17762
-8986
lines changed

17 files changed

+17762
-8986
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,28 @@ on: [push]
33
jobs:
44
test:
55
runs-on: ubuntu-latest
6-
strategy:
7-
matrix:
8-
node-version: [16.x]
96
steps:
107
- uses: actions/checkout@v3
118

12-
- name: Use Node.js ${{ matrix.node-version }}
9+
- name: Use Node.js
1310
uses: actions/setup-node@v3
1411
with:
15-
node-version: ${{ matrix.node-version }}
16-
cache: 'yarn'
12+
node-version-file: 'package.json'
13+
cache: 'npm'
1714

1815
- name: install libgbm1
1916
run: sudo apt-get install -y libgbm1
2017

2118
- name: Intall deps
2219
run: |
23-
yarn install
20+
npm i
2421
2522
- name: Lint
26-
run: yarn lint
23+
run: npm run lint
2724

2825
- name: Test
29-
run: yarn test --watch=false
26+
run: npm run test -- --watch=false
3027

3128
- name: Build
32-
run: yarn build:prod
29+
run: npm run build:prod
3330

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
>=16
1+
>=18

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Configuration
5959

6060
Contributing
6161
===
62-
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using `yarn lint` and `yarn test`.
62+
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using `npm run lint` and `npm run test`.
6363

6464

6565
[live-demo]: https://codaline-io.github.io/angular-stl-model-viewer

angular.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,18 +99,18 @@
9999
"serve": {
100100
"builder": "@angular-devkit/build-angular:dev-server",
101101
"options": {
102-
"browserTarget": "examples:build"
102+
"buildTarget": "examples:build"
103103
},
104104
"configurations": {
105105
"production": {
106-
"browserTarget": "examples:build:production"
106+
"buildTarget": "examples:build:production"
107107
}
108108
}
109109
},
110110
"extract-i18n": {
111111
"builder": "@angular-devkit/build-angular:extract-i18n",
112112
"options": {
113-
"browserTarget": "examples:build"
113+
"buildTarget": "examples:build"
114114
}
115115
},
116116
"test": {

0 commit comments

Comments
 (0)