Skip to content

refactor: update to improve type safety and formatting #66

refactor: update to improve type safety and formatting

refactor: update to improve type safety and formatting #66

Workflow file for this run

name: Angular Ci
on:
push:
branches: [develop]
pull_request:
branches: [develop]
env:
HUSKY: 0
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
angular
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install yarn
run: npm install -g yarn
- name: Install package
run: yarn
- name: Build
run: yarn build
- name: Lint check
run: yarn lint
- name: Schematics check
run: yarn test:schematics
- name: Unit Test
run: yarn test:lib:ci || true