|
|
|
@ -3,10 +3,10 @@ name: CI |
|
|
|
on: |
|
|
|
on: |
|
|
|
push: |
|
|
|
push: |
|
|
|
branches: |
|
|
|
branches: |
|
|
|
- master |
|
|
|
- main |
|
|
|
pull_request: |
|
|
|
pull_request: |
|
|
|
branches: |
|
|
|
branches: |
|
|
|
- master |
|
|
|
- main |
|
|
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
build-and-test: |
|
|
|
build-and-test: |
|
|
|
@ -15,17 +15,16 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: Checkout 🛎 |
|
|
|
- name: Checkout 🛎 |
|
|
|
uses: actions/checkout@v2 |
|
|
|
uses: actions/checkout@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
path: 'new-web' # Hier wird das Verzeichnis spezifiziert |
|
|
|
|
|
|
|
|
|
|
|
- name: Setup Node.js and Yarn 🏗 |
|
|
|
- name: Setup Node.js and Yarn 🏗 |
|
|
|
uses: actions/setup-node@v2 |
|
|
|
uses: actions/setup-node@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
node-version: 16 |
|
|
|
node-version: 16 |
|
|
|
|
|
|
|
|
|
|
|
- name: Install Yarn 📦 |
|
|
|
|
|
|
|
run: npm install -g yarn |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Change to new-web directory 📂 |
|
|
|
- name: Change to new-web directory 📂 |
|
|
|
run: cd open-etc-pool-friends/new-web |
|
|
|
run: cd new-web |
|
|
|
|
|
|
|
|
|
|
|
- name: Install Dependencies 👨🏻💻 |
|
|
|
- name: Install Dependencies 👨🏻💻 |
|
|
|
run: yarn install |
|
|
|
run: yarn install |
|
|
|
|