mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Activate github actions
This commit is contained in:
parent
642fd6164f
commit
40c6be6654
27
.github/workflows/nodejs.yml
vendored
Normal file
27
.github/workflows/nodejs.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
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 install, build, and test
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run lint
|
||||||
|
npm run build
|
||||||
|
npm test
|
||||||
|
env:
|
||||||
|
CI: true
|
Loading…
Reference in New Issue
Block a user