mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
28 lines
470 B
YAML
28 lines
470 B
YAML
name: Node CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [12.x]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: npm ci, build, and test
|
|
run: |
|
|
npm ci
|
|
npm run lint
|
|
npm run build
|
|
npm test
|
|
env:
|
|
CI: true
|