Workflow config file is invalid. Please check your config file: yaml: line 11: did not find expected '-' indicator
seepine cf9a47470f
All checks were successful
Gitea Actions Demo / Gitea-Actions (push) Successful in 14s
add yarn
2023-08-01 18:41:05 +08:00

39 lines
643 B
YAML

name: Gitea Actions Demo
on: [push]
jobs:
setup:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
env:
RUNNER_TOOL_CACHE: /toolcache
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- run: corepack enable
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- name: Dependent installation
run: yarn install
test:
needs: setup
steps:
- run: yarn install
build:
needs: setup
steps:
- run: yarn install