Skip to content

Commit 6e0456c

Browse files
committed
GitHub Actions
1 parent 6c25c9f commit 6e0456c

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/test.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 'Test'
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
tests:
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest, macos-latest]
12+
runs-on: ${{ matrix.os }}
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: cachix/install-nix-action@v26
17+
- uses: cachix/cachix-action@v14
18+
with:
19+
name: devenv
20+
- name: Install devenv.sh
21+
run: nix profile install --accept-flake-config tarball+https://install.devenv.sh/latest
22+
23+
- name: Build the devenv shell and run any pre-commit hooks
24+
run: devenv ci
25+
26+
- name: Run a single command in the devenv shell
27+
run: devenv shell bun run test.js

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.yml

0 commit comments

Comments
 (0)