You've already forked byos_node_lite
mirror of
https://github.com/usetrmnl/byos_node_lite.git
synced 2026-04-29 13:42:38 -07:00
26dff61c53
- Use multi-stage Docker build for smaller image size - Pin Alpine to node:22-alpine3.21 for reproducible builds - Use npm ci with package-lock.json for deterministic installs - Add engines field requiring Node.js >=20
23 lines
351 B
YAML
23 lines
351 B
YAML
name: Run Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: '22'
|
|
|
|
- run: npm install --no-package-lock
|
|
- run: npm run test
|