diff options
| author | seth <[email protected]> | 2023-05-16 03:53:24 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-16 04:08:37 -0400 |
| commit | 681cd8c1cc2904c562f9a58db3cbb657d58fb552 (patch) | |
| tree | 9255f71e577fc82f079c16ff493f432ca5557284 /.github/workflows/format.yaml | |
| parent | bf4df962be338c08ae41bed94b1d60b2930fca9f (diff) | |
feat: rewrite with astro
Diffstat (limited to '.github/workflows/format.yaml')
| -rw-r--r-- | .github/workflows/format.yaml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index aeb8118..7610e0b 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -14,17 +14,12 @@ jobs: - name: checkout repository uses: actions/checkout@v3 - - name: setup node - uses: actions/setup-node@v3 - - - name: install prettier - run: | - npm install -g prettier + - name: install Nix + uses: cachix/install-nix-action@v20 - name: format run: | - prettier --editorconfig -w --parser html ./**/*.njk - prettier --editorconfig -w . + nix run nixpkgs#nodePackages.prettier -- --editorconfig -w . - name: add and commit uses: EndBug/add-and-commit@v9 |
