noble-curves/.github/workflows/nodejs.yml

21 lines
469 B
YAML
Raw Normal View History

2022-12-03 13:08:49 +03:00
name: Node CI
on: [push, pull_request]
jobs:
test:
2023-05-05 04:53:35 +03:00
name: v${{ matrix.node }} @ ubuntu-latest
2022-12-03 13:08:49 +03:00
runs-on: ubuntu-latest
2023-05-02 05:59:54 +03:00
strategy:
matrix:
node: [18, 20]
2022-12-03 13:08:49 +03:00
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
2023-05-05 04:53:35 +03:00
node-version: ${{ matrix.node }}
2022-12-03 13:08:49 +03:00
- run: npm install
- run: npm run build --if-present
2022-12-28 09:32:27 +03:00
- run: npm test
2023-05-05 04:53:35 +03:00
- run: npm run lint --if-present