Skip to content

Merge pull request #44 from yagizhanNY/update-angular-material #51

Merge pull request #44 from yagizhanNY/update-angular-material

Merge pull request #44 from yagizhanNY/update-angular-material #51

Workflow file for this run

name: Deploy
on:
push:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Install Angular CLI
run: npm install @angular/cli
- name: Build
run: npm run build
- name: Deploy
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}