Set secure cookies by default when process.env.NODE_ENV is not develo… #138
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: CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 18.x | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build and check types | |
run: pnpm run build | |
- name: Lint | |
run: pnpm run lint | |
- name: Test | |
run: pnpm run test | |
env: | |
MAL_CLIENT_ID: ${{ secrets.MAL_CLIENT_ID }} | |
MAL_CLIENT_SECRET: ${{ secrets.MAL_CLIENT_SECRET }} |