awesome-cordova-plugins/.github/workflows/nodejs.yml

32 lines
569 B
YAML
Raw Permalink Normal View History

2019-10-23 21:44:35 +08:00
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: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Test
2019-10-23 21:51:42 +08:00
run: npm run test
2019-10-23 21:44:35 +08:00
- name: Readmes
run: npm run readmes
env:
CI: true