Skip to content

feat: add keepalive timer, do not use session storage for auto unlock CP-12988 #2485

feat: add keepalive timer, do not use session storage for auto unlock CP-12988

feat: add keepalive timer, do not use session storage for auto unlock CP-12988 #2485

Workflow file for this run

name: PR checks
on: pull_request
jobs:
lint:
name: Lint and build
runs-on: ubuntu-latest
environment: alpha
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: enable corepack
run: |
corepack enable
- name: Create env file
run: |
touch .env.production
echo 'POSTHOG_KEY="${{ secrets.POSTHOG_KEY }}"' >> .env.production
echo 'GLACIER_URL="${{ secrets.GLACIER_URL }}"' >> .env.production
echo 'PROXY_URL="${{ secrets.PROXY_URL }}"' >> .env.production
echo 'CORE_EXTENSION_LANDING_URL="${{ secrets.CORE_EXTENSION_LANDING_URL }}"' >> .env.production
- name: Install dependencies
run: |
yarn install
yarn allow-scripts
- name: Lint
run: yarn lint
- name: Typecheck
run: yarn typecheck
- name: Check if localization was updated
run: |
yarn scanner
git --no-pager diff
if [[ $(git status --short) == '' ]]; then exit 0; else exit 1; fi
- name: Test
run: yarn test
- name: Build extension
run: yarn build