Update build process (#46) #2
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 | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- main | |
jobs: | |
prettier: | |
name: Prettier Check Action | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
version: '16.x' | |
cache: 'yarn' | |
- name: Yarn install | |
run: yarn install --frozen-lockfile | |
- name: Run Prettier | |
run: yarn run prettier package.json prettier.config.js bin/build.mjs app/javascript/**/**/**/**/*.js | |