chore(deps): update angular-cli monorepo to v19 #9981
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push,pull_request] | |
jobs: | |
test_suite: | |
runs-on: ${{ matrix.os }} | |
name: Test - ${{ matrix.os }} - Node ${{ matrix.node }} | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
node: [12, 16] | |
os: [ubuntu-latest] #, windows-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 200 | |
- name: Setup Node | |
uses: actions/setup-node@v3.8.2 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Get npm cache directory | |
id: npm-cache | |
run: | | |
echo "::set-output name=dir::$(npm config get cache)" | |
- name: Setup Cache | |
uses: actions/cache@v3.3.3 | |
with: | |
path: | | |
${{ steps.npm-cache.outputs.dir }} | |
node_modules | |
*/*/node_modules | |
key: ${{ runner.os }}-node${{ matrix.node }}-npm-${{ hashFiles('**/package-lock.json') }} | |
- name: Install Deps | |
run: | | |
npm ci | |
npx lerna bootstrap --ci | |
- name: Run Build | |
run: npm run build | |
- name: Run Test | |
run: npm run test:coverage --no-sort | |
- name: Upload coverage to Codecov | |
run: node ./.github/codecov_upload.js | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
- name: Run Lint | |
run: npm run lint --no-sort | |
- name: Run Docs | |
run: npm run docs --no-sort | |
finish: | |
needs: test_suite | |
name: Finish Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Coveralls Finished | |
run: echo "finish" |