Merge pull request #29 from loophp/renovate/cachix-install-nix-action… #47
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: Prettier checks | |
# This action works with pull requests and pushes | |
on: | |
pull_request: | |
push: | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install the Nix package manager | |
uses: cachix/install-nix-action@v27 | |
- name: Checks | |
run: nix run nixpkgs#nodePackages.prettier -- --check . |