fix(i18n): quick fix for locale cookie expire when browser close #1071
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: Pull Request | |
on: | |
pull_request: | |
branches: [main, canary] | |
env: | |
HUSKY: 0 | |
jobs: | |
lint-and-typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18.18.0 | |
cache: "pnpm" | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm run server:build | |
- run: pnpm biome ci | |
- run: pnpm typecheck | |
build-and-test: | |
needs: lint-and-typecheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18.18.0 | |
cache: "pnpm" | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm run server:build | |
- run: pnpm build | |
parallel-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18.18.0 | |
cache: "pnpm" | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm run server:build | |
- run: pnpm test |