Skip to content

Commit 6d832a3

Browse files
Update buildAngular.yml
1 parent 5f3b0e4 commit 6d832a3

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/buildAngular.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,16 @@ jobs:
1111

1212
steps:
1313
- name: Checkout Repository
14-
uses: actions/checkout@v3
15-
16-
- name: Set up Node.js
17-
uses: actions/setup-node@v3
18-
with:
19-
node-version: '18.x'
14+
uses: actions/[email protected]
2015

16+
- name: Setup Node.js environment
17+
uses: actions/[email protected]
18+
2119
- name: Install Dependencies
22-
run: npm ci --legacy-peer-deps # This installs dependencies based on package-lock.json
20+
run: npm ci
2321

2422
- name: Build the Angular Application
25-
run: npm run build -- --configuration=production
23+
run: npm run build
2624

2725
- name: Archive the Build Artifacts
2826
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)