Skip to content

Merge pull request #34 from yagizhanNY/dependabot/npm_and_yarn/postcs… #42

Merge pull request #34 from yagizhanNY/dependabot/npm_and_yarn/postcs…

Merge pull request #34 from yagizhanNY/dependabot/npm_and_yarn/postcs… #42

Workflow file for this run

name: Deploy
on:
push:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.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
- 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 }}