diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index d736fe9e..c018eec6 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -11,17 +11,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Cache Node modules - uses: actions/cache@v1 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - name: Setup Node uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + cache: "npm" - - run: npm install - - run: npx prettier -c . + - run: npx --yes prettier -c .