Merge pull request 'Remove main from action' (#6) from ivan/remove-main-branch-from-actions into master
Reviewed-on: billnerds/rn-playground#6
This commit is contained in:
commit
1031794d85
@ -1,22 +0,0 @@
|
||||
name: Nix
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
env:
|
||||
NIXPKGS_ALLOW_UNFREE: 1
|
||||
|
||||
jobs:
|
||||
install:
|
||||
name: Install
|
||||
runs-on: nixos-x86_64-linux
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
lfs: true
|
||||
- name: lint
|
||||
run: nix develop --impure --command bash -c 'yarn run lint'
|
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; {
|
||||
defaultPackage = appBuild;
|
||||
devShell = mkShell {
|
||||
buildInputs = [ nodejs yarn watchman gradle_7 ];
|
||||
buildInputs = [ nodejs yarn watchman gradle_7 alejandra ];
|
||||
ANDROID_SDK_BIN = android-sdk;
|
||||
shellHook = ''
|
||||
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