forked from tornado-packages/noble-curves
21 lines
469 B
YAML
21 lines
469 B
YAML
name: Node CI
|
|
|
|
on: [push, pull_request]
|
|
jobs:
|
|
test:
|
|
name: v${{ matrix.node }} @ ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node: [18, 20]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Use Node.js ${{ matrix.node }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
- run: npm install
|
|
- run: npm run build --if-present
|
|
- run: npm test
|
|
- run: npm run lint --if-present
|