Skip to content

add github actions

add github actions #5

Workflow file for this run

name: CI/CD
on: push
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: ./.github/actions/setup@${{ github.ref }}

Check failure on line 9 in .github/workflows/ci-cd.yml

View workflow run for this annotation

GitHub Actions / CI/CD

Invalid workflow file

The workflow is not valid. .github/workflows/ci-cd.yml (Line: 9, Col: 15): Unrecognized named-value: 'github'. Located at position 1 within expression: github.ref .github/workflows/ci-cd.yml (Line: 16, Col: 15): Unrecognized named-value: 'github'. Located at position 1 within expression: github.ref
- run: npm run format:check
lint:
runs-on: ubuntu-latest
steps:
- uses: ./.github/actions/setup@${{ github.ref }}
- run: npm run lint:check
test:
runs-on: ubuntu-latest
steps:
- uses: ./.github/actions/setup@${{ github.ref }}
- run: npm run test
build:
runs-on: ubuntu-latest
steps:
- uses: ./.github/actions/setup@${{ github.ref }}
- run: npm run build