Merge pull request #1562 from ScilifelabDataCentre/DDS-1675-Alert-uni… #6808
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
# Prettier: Format code. | |
# Prettier is a code formatter. We mostly use it for the markdown files. | |
# https://prettier.io/ | |
--- | |
name: Prettier | |
on: [push, pull_request] | |
jobs: | |
Prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- name: Install Prettier | |
run: npm install -g prettier | |
- name: Run Prettier --check | |
run: prettier --check ${GITHUB_WORKSPACE} |