Skip to content

Add support for Angular 17 and 18 with the new build tool #12

Add support for Angular 17 and 18 with the new build tool

Add support for Angular 17 and 18 with the new build tool #12

Workflow file for this run

name: ngx-aws-deploy
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
env:
NX_BRANCH: ${{ github.event.number }}
NX_RUN_GROUP: ${{ github.run_id }}
steps:
- name: Clone repository
# `fetch-depth` defaults to 1.
uses: actions/checkout@v2
- name: Cache builder node modules
id: cache
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-build-${{ env.cache-name }}-
${{ runner.OS }}-build-${{ matrix.version }}
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.version }}
- name: Install Builder Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
- name: Symlink dist 🔗
run: npm run symlinks
- name: Tests coverage
run: npm run nx run-many -- --target=test --all --codeCoverage
- name: Build
run: npm run nx run-many -- --target=build --all --parallel=true --prod