gotelem/.github/workflows/nodejs.yml
saji 2dc5a0457b
Some checks failed
Node.js CI / build (push) Failing after 48s
Go / build (1.21) (push) Successful in 1m6s
Go / build (1.22) (push) Successful in 1m5s
added node ci
2024-03-08 21:53:26 -06:00

23 lines
372 B
YAML

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 .