gotelem/.github/workflows/nodejs.yml

23 lines
372 B
YAML
Raw Normal View History

2024-03-09 03:53:26 +00:00
name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./web/
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm ci
- run: npm run build --if-present
- run: npx eslint .