Skip to content

[IOPID-2093] Parameterisation of getSession endpoint #558

[IOPID-2093] Parameterisation of getSession endpoint

[IOPID-2093] Parameterisation of getSession endpoint #558

Workflow file for this run

on:
- pull_request
jobs:
checks:
runs-on: ubuntu-latest
environment: dev
concurrency:
group: ${{ github.workflow }}-pr-staticcheck-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
steps:
- id: checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- id: setup-node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version-file: '.node-version'
- id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
shell: bash
- id: yarn-cache
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- id: install-packages
run: yarn install --frozen-lockfile
shell: bash
- id: generate-api-client
run: yarn generate
shell: bash
- id: run-tsc
run: yarn tsc:noemit
- id: run-lint
run: yarn lint
- id: run-prettier
run: yarn prettier:check
- id: run-test
run: yarn test:ci
- id: coverage
uses: codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed # v4.3.0
with:
token: ${{ secrets.CODECOV_TOKEN }}