fix: Replace hardcoded session token with environment variable and ad… #46
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: Linting | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
- name: Install pnpm and install dependencies | |
run: npm install -g pnpm && pnpm install | |
- name: Run Prettier check | |
run: pnpm exec prettier --ignore-unknown --check . | |
- name: Run ESLint | |
run: pnpm run lint |