Skip to content

add ci automation

add ci automation #1

Workflow file for this run

name: Continous Integration
on:
pull_request:
branches:
- main
jobs:
automation-test-job:
runs-on: ubuntu-latest
steps:

Check failure on line 12 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
- uses: actions/checkout@v2
- name: Use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version:
${{ matrix.node-version }}
- name: npm install and test
run: |
npm install
npm run ci:test