Skip to content

Commit

Permalink
Create ionic-angular-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MDecker-MobileComputing committed Dec 9, 2024
1 parent 47db4e3 commit fb25ca5
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ionic-angular-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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

0 comments on commit fb25ca5

Please sign in to comment.