chore: upgraded nuxt-auth-sanctum module #7
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
# Pipeline to run code quality checks | |
name: Code Validation | |
env: | |
node_version: 20.x | |
package_manager: pnpm # or npm | |
install_command: pnpm install # or npm ci | |
script_command: pnpm # or npm run | |
on: | |
workflow_dispatch: # manual trigger | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: project-validation | |
cancel-in-progress: false | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.node_version }} | |
cache: ${{ env.package_manager }} | |
- name: Install dependencies | |
run: ${{ env.install_command }} | |
- name: Run ESLint | |
run: | | |
${{ env.script_command }} lint |