Skip to content

Fix GHA

Fix GHA #12

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Main CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
steps:
- name: Use Node.js ${{ matrix.node-version }}

Check failure on line 14 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: setup
run: |
npm install -g npm@latest
npm i
- name: linter
run: npm run lint
- name: test
run: npm run test