Allowed the back-end to select a port as needed, marked the kind of drivers, and added some security to the tRPC channel. #13
Workflow file for this run
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: Style and form checks | |
on: | |
push: | |
branches: [$default-branch, $protected-branches] | |
pull_request: {} | |
jobs: | |
eslint: | |
name: Run eslint scanning | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
actions: read | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: 'Install Node' | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
check-latest: true | |
- name: Setup yarn | |
run: | | |
corepack enable yarn | |
corepack install | |
- name: Install dependencies | |
run: | | |
yarn --frozen-lockfile --ignore-scripts | |
- name: Check code style | |
run: | | |
yarn check:prettier | |
yarn check:lint |