fix: support insecure cookies for auth token #194
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: Nuxt [Validate] | |
env: | |
node_version: 20 | |
concurrency: | |
group: nuxt-auth-sanctum-ci | |
cancel-in-progress: false | |
on: | |
workflow_dispatch: # manual trigger | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
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 }} | |
- name: Install dependencies | |
run: npx nypm@latest i | |
- name: Lint | |
run: pnpm lint | |
- name: Build stubs | |
run: pnpm dev:prepare | |
- name: Type check | |
run: pnpm test:types | |
test: | |
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 }} | |
- name: Install dependencies | |
run: npx nypm@latest i | |
- name: Build stubs | |
run: pnpm dev:prepare | |
- name: Test | |
run: pnpm test |