Skip to content

Update node version

Update node version #2

Workflow file for this run

name: Build and Deploy Angular App
on:
push:
branches:
- main # Change this to your default branch if it's not 'main'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "18" # Specify the Node.js version you need
- name: Install dependencies
run: npm install
- name: Build Angular app
run: npm run build -- --prod --base-href /i18neditor/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/i18neditor # Change this to your Angular app's build output directory