summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/format.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml
index 7610e0b..d1589a0 100644
--- a/.github/workflows/format.yaml
+++ b/.github/workflows/format.yaml
@@ -17,9 +17,14 @@ jobs:
- name: install Nix
uses: cachix/install-nix-action@v20
+ - uses: cachix/cachix-action@v12
+ with:
+ name: getchoo
+ authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
+
- name: format
run: |
- nix run nixpkgs#nodePackages.prettier -- --editorconfig -w .
+ nix develop --command bash -c "yarn format"
- name: add and commit
uses: EndBug/add-and-commit@v9