From 68e86ac6a2e7ac21dff2be711357127dc3bd7742 Mon Sep 17 00:00:00 2001 From: l4kr Date: Wed, 13 Sep 2023 14:34:13 +0200 Subject: [PATCH] acid testing --- .github/workflows/futon-deploy.yaml | 33 ++++++++++++++++++---- .github/workflows/gitea-demo.yaml | 44 ++++++++++++++--------------- 2 files changed, 49 insertions(+), 28 deletions(-) diff --git a/.github/workflows/futon-deploy.yaml b/.github/workflows/futon-deploy.yaml index 7c28c6f..4e298aa 100644 --- a/.github/workflows/futon-deploy.yaml +++ b/.github/workflows/futon-deploy.yaml @@ -2,12 +2,33 @@ name: futon deploy on: - merge: - branches: - - main + pull_request: + types: [closed] + branches: [main] jobs: - deploy: + lint: runs-on: "ubuntu-latest" - steps: - - name: Checkout + - name: Checkout code + uses: actions/checkout@v2 + + - name: install Node.js + uses: actions/setup-node@v1 + with: node-version:18.x + + - name: Install dependencies + run: npm install + + - name: Lint with + uses: wearerequired/lint-action@v2 + with: + eslint: true + prettier: true + stylelint: true + htmlhint: true + + # - name: Minify dashit + # uses: nizarmah/auto-minify@v2.1 + # with: + # directory: './' + # output:'.' diff --git a/.github/workflows/gitea-demo.yaml b/.github/workflows/gitea-demo.yaml index 69d63d0..a8f5db6 100644 --- a/.github/workflows/gitea-demo.yaml +++ b/.github/workflows/gitea-demo.yaml @@ -1,22 +1,22 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: - pull_request: - types: [closed] - branches: [main] - -jobs: - Explore-Gitea-Actions: - runs-on: ubuntu-latest - steps: - - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - name: Check out repository code - uses: actions/checkout@v3 - - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ gitea.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." +# name: Gitea Actions Demo +# run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +# on: +# pull_request: +# types: [closed] +# branches: [main] +# +# jobs: +# Explore-Gitea-Actions: +# runs-on: ubuntu-latest +# steps: +# - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." +# - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" +# - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." +# - name: Check out repository code +# uses: actions/checkout@v3 +# - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." +# - run: echo "🖥️ The workflow is now ready to test your code on the runner." +# - name: List files in the repository +# run: | +# ls ${{ gitea.workspace }} +# - run: echo "🍏 This job's status is ${{ job.status }}."