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

34 lines
594 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:
2022-10-16 00:19:39 +08:00
node-version: [16.x]
2019-10-23 21:44:35 +08:00
steps:
- uses: actions/checkout@v3.5.3
2021-08-23 05:44:26 +08:00
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.7.0
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
2021-12-26 04:46:28 +08:00
run: npm run lint -- --quiet
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