Skip to content

Angular 19

Angular 19 #352

Workflow file for this run

name: pull-request
on:
pull_request:
branches: [ master ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build:
name: pull-request
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 18
# - name: Print GitHub
# run: echo $JSON
# env:
# JSON: ${{ toJson(github) }}
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build -- --configuration=production
- name: Test
run: npx nx affected --target=test --watch=false --parallel=true --base=${{ github.event.pull_request.base.sha }} --head=${{ github.event.pull_request.head.sha }}