Skip to content

Fix bun workflows

Fix bun workflows #15

Workflow file for this run

name: Push Checks
on: [push]
jobs:
docker:
name: Verify that Docker can build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Dockerfile
run: docker-compose build
openscad-node:
name: Verify that OpenSCAD keycap scripts work (Node.js)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 21
- name: Install npm dependencies
run: npm ci --omit=optional
- name: Install openscad
run: sudo apt-get update && sudo apt-get install -y openscad
- name: Compile Code
run: make ci-setup build
- name: Build simple keycaps
run: OPENSCAD=$(which openscad) make keycaps-simple
openscad-bun:
name: Verify that OpenSCAD keycap scripts work (Bun)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install npm dependencies
run: bun install # --frozen-lockfile
- name: Install openscad
run: sudo apt-get update && sudo apt-get install -y openscad
- name: Compile Code
run: make ci-setup build
- name: Build simple keycaps
run: OPENSCAD=$(which openscad) make keycaps-simple