chore(versioning): fix versioning of the package #100
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: CI | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
extra_nix_config: | | |
experimental-features = nix-command flakes | |
- name: Cache Nix | |
uses: DeterminateSystems/magic-nix-cache-action@v7 | |
- name: Install dependencies | |
run: | | |
nix develop . -c yarn install | |
- name: lint | |
run: | | |
nix develop . -c yarn workspace @hathor/hathor-rpc-handler run lint | |
- name: tests | |
run: | | |
nix develop . -c yarn workspace @hathor/hathor-rpc-handler run test |