1
0
Files
cloudflare-worker-jwt/.github/workflows/node-ci.yml
2021-05-23 17:47:22 +02:00

23 lines
407 B
YAML

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 15.x
- run: npm ci
- run: npm run lint --if-present
- run: npm run build --if-present
- run: npm test