docs: add instructions for installing with nix #10
Workflow file for this run
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
name: Test & Release | |
on: | |
push: | |
branches: | |
- main | |
- release | |
pull_request: | |
jobs: | |
release: | |
name: Test & Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Out Code | |
uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Configure Cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Install Npm Dependencies | |
run: nix develop --command npm ci | |
- name: Test | |
run: nix develop --command npm test | |
- name: Release If Appropriate | |
run: nix develop --command npm run semantic-release |