Skip to content

Create ionic-angular-ci.yml #1

Create ionic-angular-ci.yml

Create ionic-angular-ci.yml #1

name: Ionic Angular CI
on:
push:
branches: [ master ]
jobs:
build:
steps:

Check failure on line 10 in .github/workflows/ionic-angular-ci.yml

View workflow run for this annotation

GitHub Actions / Ionic Angular CI

Invalid workflow file

The workflow is not valid. .github/workflows/ionic-angular-ci.yml (Line: 10, Col: 5): Required property is missing: runs-on
- uses: actions/checkout@v2
- name: Use Node.js 20.x
uses: actions/setup-node@v2
with:
node-version: 20.x
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Install Dependencies
run: npm ci # besonders "sauberer Build", z.B. node_modules ggf. löschen
- name: Build Ionic App
run: |
npm install -g @ionic/cli
ionic build