fix: fixed function getting user token instead of esp token #56
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: Check formatting of project files with Prettier | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
cache-dependency-path: nextjs-interface/package-lock.json | |
- name: Install dependencies | |
run: npm install | |
working-directory: nextjs-interface/ | |
- name: Check code style with Prettier | |
run: npm run format:check | |
working-directory: nextjs-interface/ | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
cache-dependency-path: nextjs-interface/package-lock.json | |
- name: Install dependencies | |
run: npm install | |
working-directory: nextjs-interface/ | |
- name: Lint code with Eslint | |
run: npm run lint | |
working-directory: nextjs-interface/ |