[HCAP-1527] Snowplow - added tracking parameter - selected pathway on successful participant EOI #2259
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: Check format of code base | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
premerge: | |
name: format-check | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 5 | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@0.9.1 | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Cache node modules | |
id: cache-npm | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: | | |
~/.npm | |
**/node_modules | |
key: ${{ runner.os }}-npm | |
restore-keys: ${{ runner.os }}-npm | |
- name: install dev dependencies | |
run: npm run update-all | |
- name: run format checking scripts | |
run: npm run check-format |