Skip to content

Commit

Permalink
update node version for github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
imdurgeshpal committed May 27, 2024
1 parent f60bdbf commit 65b8933
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@ name: Deploy to GitHub Pages via angular-cli-ghpages
on:
push:
branches: [master]

jobs:
build-and-deploy:
runs-on: ubuntu-latest
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- 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=imdurgeshpal@gmail.com
- 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=imdurgeshpal@gmail.com

0 comments on commit 65b8933

Please sign in to comment.