-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): Split all tests to different jobs
- Loading branch information
Showing
2 changed files
with
109 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 'Common Setup Steps' | ||
description: 'Checks out the repo and installs dependencies' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@v4 | ||
- name: Run the Magic Nix Cache | ||
uses: DeterminateSystems/magic-nix-cache-action@v1 | ||
- uses: cachix/cachix-action@v12 | ||
with: | ||
name: nix-blockchain-development | ||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
- name: Build Nix dev shell | ||
shell: bash | ||
run: ./scripts/build-nix-shell.sh | ||
- name: Install Node.js dependencies | ||
shell: bash | ||
run: nix develop -c yarn install --immutable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters