-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (32 loc) · 783 Bytes
/
Copy pathpush.yaml
File metadata and controls
36 lines (32 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: photography-build-workflow
on:
push:
branches:
- master
- feature/*
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
node-version: [20.x]
steps:
- run: echo ${{ github.event.pull_request.head.ref }}
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Angular CLI
run: npm i -g @angular/cli
- name: Install packages
run: npm i
- name: Build the application
run: npm run build
env:
CI: true