21 lines
386 B
YAML
21 lines
386 B
YAML
name: checks
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
lint:
|
|
name: check and test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: "14"
|
|
run: node -v
|
|
- name: Install dependencies
|
|
run: npm install
|
|
- name: Build
|
|
run: npm run build
|