Merge branch 'master' into env-files
This commit is contained in:
commit
e1410ed402
21
.gitea/workflows/tests.yaml
Normal file
21
.gitea/workflows/tests.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Tests
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
env:
|
||||||
|
NIXPKGS_ALLOW_UNFREE: 1
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
install:
|
||||||
|
name: Install
|
||||||
|
runs-on: nixos-x86_64-linux
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
- name: alejandra
|
||||||
|
run: nix develop --impure --command bash -c 'alejandra check flake.nix'
|
||||||
|
- name: install
|
||||||
|
run: nix develop --impure --command bash -c 'export HOME=$PWD; yarn config set link-folder . && yarn install'
|
||||||
|
- name: lint
|
||||||
|
run: nix develop --impure --command bash -c 'export HOME=$PWD; yarn run lint'
|
@ -53,7 +53,7 @@
|
|||||||
in with pkgs; {
|
in with pkgs; {
|
||||||
defaultPackage = appBuild;
|
defaultPackage = appBuild;
|
||||||
devShell = mkShell {
|
devShell = mkShell {
|
||||||
buildInputs = [ nodejs yarn watchman gradle_7 ];
|
buildInputs = [ nodejs yarn watchman gradle_7 alejandra ];
|
||||||
ANDROID_SDK_BIN = android-sdk;
|
ANDROID_SDK_BIN = android-sdk;
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
export JAVA_HOME=${pkgs.jdk17.home}
|
export JAVA_HOME=${pkgs.jdk17.home}
|
||||||
|
13854
package-lock.json
generated
13854
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user