Fix bun workflows #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |