Skip to content

build(deps-dev): bump @angular/cli from 18.1.4 to 19.0.5 #1745

build(deps-dev): bump @angular/cli from 18.1.4 to 19.0.5

build(deps-dev): bump @angular/cli from 18.1.4 to 19.0.5 #1745

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Angular-CI
on:
push:
branches: [dev, master]
pull_request:
branches: [dev, master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Cache node Modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on linux/macOS
path: ~/npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Authenticate with GitHub package registry
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
- name: Install Dependencies
run: yarn
- name: Lint Code
run: yarn lint
- name: Build App
run: yarn build
# - name: Prepare and deploy
# run: npx angular-cli-ghpages --dir=/dist/web-style
# env:
# CI: true
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# npm run ng -- deploy --base-href=/web-style/ --name="Kidwen" --email=xuqiujia2020@outlook.com