Skip to content

add test workflow

add test workflow #1

Workflow file for this run

on:
push:
branches:
- main
pull_request

Check failure on line 5 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yaml

Invalid workflow file

You have an error in your yaml syntax on line 5
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- run: |
npm install
npm test
npm build