File tree Expand file tree Collapse file tree 7 files changed +3487
-20485
lines changed Expand file tree Collapse file tree 7 files changed +3487
-20485
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,12 @@ jobs:
1717 steps :
1818 - name : Checkout
1919 uses : actions/checkout@v4
20- - name : Setup Node.js
21- uses : actions/setup-node@v4
22- with :
23- node-version : 18
24- cache : yarn
20+ - name : Setup Bun
21+ uses : oven-sh/setup-bun@v2
2522 - name : Install dependencies
26- run : yarn --immutable
23+ run : bun install --frozen-lockfile
2724 - name : Run Eslint
28- run : yarn run lint
25+ run : bun run lint
2926
3027 typecheck :
3128 name : Typecheck
@@ -34,16 +31,13 @@ jobs:
3431 steps :
3532 - name : Checkout
3633 uses : actions/checkout@v4
37- - name : Setup Node.js
38- uses : actions/setup-node@v4
39- with :
40- node-version : 18
41- cache : yarn
34+ - name : Setup Bun
35+ uses : oven-sh/setup-bun@v2
4236 - name : Install dependencies
43- run : yarn --immutable
37+ run : bun install --frozen-lockfile
4438 - name : Typecheck
4539 continue-on-error : true
46- run : yarn run typecheck
40+ run : bun run typecheck
4741
4842 build :
4943 name : Build
@@ -58,15 +52,12 @@ jobs:
5852 with :
5953 path : .nuxt
6054 key : nuxt-cache
61- - name : Setup Node.js
62- uses : actions/setup-node@v4
63- with :
64- node-version : 18
65- cache : yarn
55+ - name : Setup Bun
56+ uses : oven-sh/setup-bun@v2
6657 - name : Install dependencies
67- run : yarn --immutable
58+ run : bun install --frozen-lockfile
6859 - name : Build
69- run : yarn run generate
60+ run : bun run generate
7061 - name : Upload artifact
7162 if : ${{ github.event_name == 'push' || contains(github.ref, '/heads/master') }}
7263 uses : actions/upload-pages-artifact@v3
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ {
2+ inputs = {
3+ nixpkgs . url = "github:NixOs/nixpkgs/nixpkgs-unstable" ;
4+ } ;
5+ outputs = { nixpkgs , ...} : let
6+ inherit ( nixpkgs ) lib ;
7+
8+ systems = lib . intersectLists lib . systems . flakeExposed lib . platforms . linux ;
9+ forAllSystems = lib . genAttrs systems ;
10+ nixpkgsFor = forAllSystems ( system : nixpkgs . legacyPackages . ${ system } ) ;
11+ in {
12+ devShells = forAllSystems ( system : let
13+ pkgs = nixpkgsFor . ${ system } ;
14+
15+ patch-sass-embedded = pkgs . writeShellApplication {
16+ name = "patch-sass-embedded" ;
17+
18+ text = ''
19+ find ./node_modules/sass-embedded-linux-*/dart-sass/src -name dart -print0 | xargs -I {} -0 patchelf --set-interpreter "$(<"$NIX_CC/nix-support/dynamic-linker")" {}
20+ '' ;
21+ } ;
22+ in {
23+ default = pkgs . mkShell {
24+ packages = [ pkgs . bun patch-sass-embedded ] ;
25+
26+ shellHook = ''
27+ bun install
28+ '' ;
29+ } ;
30+ } ) ;
31+ } ;
32+ }
You can’t perform that action at this time.
0 commit comments