From 7fdaa2598778f94ffadf9b6414f7585e16337b9a Mon Sep 17 00:00:00 2001 From: Hunter Richardson Date: Thu, 20 Jun 2024 22:26:15 -0500 Subject: [PATCH] Implement automatic builds --- .github/workflows/aedificare.yaml | 38 +++++++++++++++++++++++++++++++ .github/workflows/expedire.yaml | 22 ++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 .github/workflows/aedificare.yaml create mode 100644 .github/workflows/expedire.yaml diff --git a/.github/workflows/aedificare.yaml b/.github/workflows/aedificare.yaml new file mode 100644 index 0000000..ac5ea5a --- /dev/null +++ b/.github/workflows/aedificare.yaml @@ -0,0 +1,38 @@ +name: aedificare + +on: [push, pull_request] +jobs: + build_vue: + runs-on: ubuntu-latest + name: aedificare + steps: + - uses: actions/checkout + with: + fetch-depth: 0 + - uses: actions/setup-node + with: + node-version: latest + - name: inaugurare + run: npm clean-install + continue-on-error: false + - name: fundamen-struere + run: npm run build + continue-on-error: false + - name: verificare + run: tsc --build --clean + continue-on-error: false + - name: structura-struere + run: npm run type-check + continue-on-error: false +# - name: tentare +# run: npm test --passWithNoTests +# env: +# CI: true +# continue-on-error: false +# - name: invenire +# run: local locus=$(grep 'outDir' ./tsconfig.json | awk '{ print $2 }') | tr -dc '[:alpha:]\n' +# - name: emissa +# run: find ${locus} -type f +# - name: delere +# if: failure() +# run: exit 1 diff --git a/.github/workflows/expedire.yaml b/.github/workflows/expedire.yaml new file mode 100644 index 0000000..2cb95d4 --- /dev/null +++ b/.github/workflows/expedire.yaml @@ -0,0 +1,22 @@ +name: expedire + +on: + push: + branches: + - princeps: + +jobs: + call-workflow: + uses: ./.github/workflows/aedificare.yml + deploy: + runs-on: ubuntu-latest + name: expedire + steps: + - name: inaugurare + run: npm install @vue/cli + continue-on-error: false +# - name: expedire +# run: npm run deploy +# - name: delere +# if: failure() +# run: exit 1