mirror of
https://github.com/blackboxprogramming/blackroad-apps.git
synced 2026-03-17 06:57:10 -05:00
ci: add CI workflow
This commit is contained in:
15
.github/workflows/ci.yml
vendored
Normal file
15
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
name: CI
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
- run: npm ci
|
||||
- run: npm test --if-present
|
||||
- run: npm run lint --if-present
|
||||
- run: npm run build --if-present
|
||||
Reference in New Issue
Block a user