Psalm veranderingen #1461
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 | |
on: [push, pull_request] | |
jobs: | |
prettier: | |
name: Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Cache Yarn packages | |
id: yarn-cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
.yarn | |
.pnp.cjs | |
.pnp.loader.mjs | |
node_modules/.cache | |
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock', '.yarnrc.yml') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install yarn dependencies | |
if: steps.yarn-cache.outputs.cache-hit != 'true' | |
run: yarn install --immutable | |
- name: Check Prettier | |
run: yarn run prettier-check-all |