Skip to content

feat: add ci pipeline #4

feat: add ci pipeline

feat: add ci pipeline #4

Workflow file for this run

name: Classroom ci
on: [push, pull_request]
jobs:
build and test:

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

View workflow run for this annotation

GitHub Actions / Classroom ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 6, Col: 3): The identifier 'build and test' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
name: Build and test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.14.2]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16.13.x
cache: npm
- name: Install modules
run: npm ci
- name: Run lint
run: npm run lint:code
- name: Run tests
run: npm run test