From 681cd8c1cc2904c562f9a58db3cbb657d58fb552 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 16 May 2023 03:53:24 -0400 Subject: feat: rewrite with astro --- .github/workflows/format.yaml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to '.github/workflows/format.yaml') 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 -- cgit v1.2.3