22 lines
405 B
YAML
22 lines
405 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v2.1.2
|
|
with:
|
|
node-version: '16.x'
|
|
- name: Install dependencies
|
|
run: npm install
|
|
- name: Test
|
|
run: npm run test
|