Skip to content

Commit

Permalink
Start CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rianadon committed Nov 28, 2023
1 parent 180eed0 commit 2510c52
Show file tree
Hide file tree
Showing 9 changed files with 65 additions and 1,455 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Checks
on: [push]

jobs:
deploy-test:
name: Verify the site can be deployed
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

- name: Install openscad
run: sudo apt-get install -y openscad

- name: Build keycaps
run: |
mkdir target
export OPENSCAD=$(which openscad)
make keycaps-simple
make keycaps
- name: Build Parts
run: make parts

- name: Compile Code
run: make

- name: Build site
run: npm run build
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["dprint.dprint"]
"recommendations": ["dprint.dprint", "antfu.unocss"]
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ git clone https://github.com/rianadon/Cosmos-Keyboards
cd Cosmos-Keyboards
npm install
mkdir target
export OPENSCAD=/path/to/openscad
make keycaps-simple # Generates keycaps used for collision detection.
make keycaps # Generates geometry for all the keycaps. Take a while.
make parts # Generates the mx switch geometry
Expand Down
Loading

0 comments on commit 2510c52

Please sign in to comment.