-
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
1 parent
b415ce0
commit 457e02d
Showing
2 changed files
with
136 additions
and
50 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,23 @@ | ||
name: 'Common Setup Steps' | ||
description: 'Checks out the repo and installs dependencies' | ||
inputs: | ||
cachix_auth_token: | ||
description: 'Cachix Cache Authentication Token' | ||
required: true | ||
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: '${{ inputs.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