Merge pull request #1498 from phantom/lfernandezpt-patch-19 #2315
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: Ensure Formatting | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request_target: | |
types: [opened, reopened, synchronize] | |
jobs: | |
ensure-formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run validation script | |
run: node ./ci.js |