2019-10-23 15:44:35 +02:00
|
|
|
name: Node CI
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-11-11 11:10:28 +02:00
|
|
|
node-version: [20.x]
|
2019-10-23 15:44:35 +02:00
|
|
|
|
|
|
|
steps:
|
2024-11-11 10:07:14 +01:00
|
|
|
- uses: actions/checkout@v4.2.2
|
2021-08-22 23:44:26 +02:00
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
2025-01-27 12:28:29 +01:00
|
|
|
uses: actions/setup-node@v4.2.0
|
2021-08-22 23:44:26 +02:00
|
|
|
with:
|
|
|
|
node-version: ${{ matrix.node-version }}
|
2021-09-27 22:50:14 +02:00
|
|
|
|
2021-08-22 23:44:26 +02:00
|
|
|
- name: Install dependencies
|
|
|
|
run: npm ci
|
2021-09-27 22:50:14 +02:00
|
|
|
|
2021-08-22 23:44:26 +02:00
|
|
|
- name: Lint
|
2021-12-25 20:46:28 +00:00
|
|
|
run: npm run lint -- --quiet
|
2021-09-27 22:50:14 +02:00
|
|
|
|
2021-08-22 23:44:26 +02:00
|
|
|
- name: Build
|
|
|
|
run: npm run build
|
2021-09-27 22:50:14 +02:00
|
|
|
|
2021-08-22 23:44:26 +02:00
|
|
|
- name: Test
|
|
|
|
run: npm run test
|
2021-09-27 22:50:14 +02:00
|
|
|
|
2021-08-22 23:44:26 +02:00
|
|
|
- name: Readmes
|
|
|
|
run: npm run readmes
|