mirror of
https://github.com/EthanShoeDev/fressh.git
synced 2026-01-11 06:12:51 +00:00
flake
This commit is contained in:
21
.github/workflows/check.yml
vendored
21
.github/workflows/check.yml
vendored
@@ -21,18 +21,18 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@main
|
||||
|
||||
- name: Cache Nix Store
|
||||
uses: nix-community/cache-nix-action@main
|
||||
with:
|
||||
primary-key: ${{ runner.os }}-nix-${{ hashFiles('flake.lock') }}
|
||||
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@main
|
||||
|
||||
- name: Load devShell environment
|
||||
uses: nicknovitski/nix-develop@main
|
||||
with:
|
||||
arguments: .#android-remote
|
||||
arguments: .#default
|
||||
|
||||
- name: Get pnpm store directory
|
||||
shell: bash
|
||||
@@ -47,8 +47,21 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pnpm-store-
|
||||
|
||||
- name: Cache turbo build setup
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: .turbo
|
||||
key:
|
||||
${{ runner.os }}-turbo-${{ github.ref_name }}-${{ github.job }}-${{
|
||||
github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-turbo-${{ github.ref_name }}-${{ github.job }}-
|
||||
${{ runner.os }}-turbo-${{ github.ref_name }}-
|
||||
${{ runner.os }}-turbo-
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
|
||||
- run: pnpm exec turbo lint:check
|
||||
|
||||
# test:
|
||||
|
||||
Reference in New Issue
Block a user