Skip to content

copilot

copilot #38

Workflow file for this run

env: {}
# FILE GENERATED WITH: npx ghat fregante/ghatemplates/node
# SOURCE: https://github.com/fregante/ghatemplates
# OPTIONS: {"exclude":["jobs.Build"]}
name: CI
on:
- pull_request
- push
jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: install
run: npm ci || npm install
- name: XO
run: npx xo
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: install
run: npm ci || npm install
- name: build
run: npm run build --if-present
- name: AVA
run: npx ava