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

34 lines
583 B
YAML
Raw Normal View History

2019-10-23 21:44:35 +08:00
name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
2020-11-05 20:26:23 +08:00
node-version: [14.x]
2019-10-23 21:44:35 +08:00
steps:
- uses: actions/checkout@v2.4.0
2021-08-23 05:44:26 +08:00
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.4.1
2021-08-23 05:44:26 +08:00
with:
node-version: ${{ matrix.node-version }}
2021-09-28 04:50:14 +08:00
2021-08-23 05:44:26 +08:00
- name: Install dependencies
run: npm ci
2021-09-28 04:50:14 +08:00
2021-08-23 05:44:26 +08:00
- name: Lint
run: npm run lint
2021-09-28 04:50:14 +08:00
2021-08-23 05:44:26 +08:00
- name: Build
run: npm run build
2021-09-28 04:50:14 +08:00
2021-08-23 05:44:26 +08:00
- name: Test
run: npm run test
2021-09-28 04:50:14 +08:00
2021-08-23 05:44:26 +08:00
- name: Readmes
run: npm run readmes