action-demo/.gitea/workflows/test-with-action.yml
huanghs 7efb170604
Some checks failed
Gitea Actions Demo / Gitea-Actions (push) Failing after 29s
Gitea Actions Demo / setup (push) Successful in 2m2s
Gitea Actions Demo / build (push) Successful in 17s
Gitea Actions Demo / test (push) Successful in 19s
fix4
2023-08-02 13:07:45 +08:00

43 lines
835 B
YAML

name: Gitea Actions Demo
on: [push]
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Yarn install
uses: ./.gitea/actions/yarn-install
test:
needs: setup
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Yarn install
uses: ./.gitea/actions/yarn-install
- name: Eslint Test
run: npx eslint --ext ".vue,.js,.jsx,.ts,.tsx"
build:
needs: setup
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Yarn install
uses: ./.gitea/actions/yarn-install
- name: Eslint Test
run: npx eslint --ext ".vue,.js,.jsx,.ts,.tsx"