acid testing
This commit is contained in:
parent
376c6ed80f
commit
68e86ac6a2
33
.github/workflows/futon-deploy.yaml
vendored
33
.github/workflows/futon-deploy.yaml
vendored
@ -2,12 +2,33 @@
|
|||||||
name: futon deploy
|
name: futon deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
merge:
|
pull_request:
|
||||||
branches:
|
types: [closed]
|
||||||
- main
|
branches: [main]
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
lint:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
|
|
||||||
steps:
|
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:'.'
|
||||||
|
|||||||
44
.github/workflows/gitea-demo.yaml
vendored
44
.github/workflows/gitea-demo.yaml
vendored
@ -1,22 +1,22 @@
|
|||||||
name: Gitea Actions Demo
|
# name: Gitea Actions Demo
|
||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
# run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
on:
|
# on:
|
||||||
pull_request:
|
# pull_request:
|
||||||
types: [closed]
|
# types: [closed]
|
||||||
branches: [main]
|
# branches: [main]
|
||||||
|
#
|
||||||
jobs:
|
# jobs:
|
||||||
Explore-Gitea-Actions:
|
# Explore-Gitea-Actions:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
# - 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 "🐧 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 }}."
|
# - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
- name: Check out repository code
|
# - name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
# - 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."
|
# - run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
- name: List files in the repository
|
# - name: List files in the repository
|
||||||
run: |
|
# run: |
|
||||||
ls ${{ gitea.workspace }}
|
# ls ${{ gitea.workspace }}
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
# - run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user