-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 994 Bytes
/
Copy pathionic-angular-ci.yml
File metadata and controls
35 lines (28 loc) · 994 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
name: Ionic Angular CI
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Code auschecken
uses: actions/checkout@v4 # neueste Version siehe https://github.com/actions/checkout/releases
- name: Node.js einrichten
uses: actions/setup-node@v4 # neueste Version siehe https://github.com/actions/setup-node/releases
with:
node-version: 22.x
- name: Node-Cache
uses: actions/cache@v4 # neueste Version siehe https://github.com/actions/cache/releases
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Abhängigkeiten installieren
run: npm ci # ci: Continuous Integration, nur package-lock.json wird ausgewertet
- name: Ionic-App bauen
run: |
npm install -g @ionic/cli
ionic build