Skip to content

Merge 1a3864d08d4a729df08cf75b55c040c0b2cfe839 into feature/242 #573

Merge 1a3864d08d4a729df08cf75b55c040c0b2cfe839 into feature/242

Merge 1a3864d08d4a729df08cf75b55c040c0b2cfe839 into feature/242 #573

Workflow file for this run

name: Formatting
on: [push]
jobs:
lint:
runs-on: SalesforceFoundation-ubuntu
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v2-beta
with:
node-version: '14'
- name: Determine Node Version
id: node-version
run: |
echo "::set-output name=ver::$(node --version)"
- uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-${{ steps.node-version.outputs.ver }}-${{ hashFiles('package.json', 'yarn.lock') }}
- name: Install Packages
run: |
yarn install
- name: prettier
run: |
npx prettier "**/*.{cls,apex,js,html,md,yml,yaml,json}" --check