-
Notifications
You must be signed in to change notification settings - Fork 47
33 lines (28 loc) · 899 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Deploy to GitHub Pages via angular-cli-ghpages
on:
push:
branches: [master]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 18.x
- name: Prepare and deploy
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
npm install
# npm run lint
###
# Configure Angular first!
####
# npm test -- --watch=false --progress=false --browsers=ChromeHeadlessCI
# npm run webdriver-update-ci
# npm run e2e -- --protractor-config=e2e/protractor-ci.conf.js --webdriver-update=false
####
npm run ng -- deploy --base-href=/Angular-CRUD-Operations/ --name="Durgesh Pal" [email protected]