Skip to content

fix: prevent WebView SIGSEGV crash during navigation cleanup #45780

fix: prevent WebView SIGSEGV crash during navigation cleanup

fix: prevent WebView SIGSEGV crash during navigation cleanup #45780

Workflow file for this run

name: 01-lint
on:
pull_request:
branches:
- onekey
- x
push:
branches:
- onekey
- x
# Cancel a currently running workflow from the same PR/branch/tag
# when a new workflow is triggered
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
YARN_ENABLE_GLOBAL_CACHE: true
jobs:
lint:
runs-on: ubuntu-24.04
strategy:
matrix:
node-version: [24.x]
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
registry-url: 'https://npm.pkg.github.com'
scope: '@onekeyhq'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=${{ github.workspace }}/.yarn" >> "$GITHUB_OUTPUT"
- name: Install Dependency
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_OPTIONS: '--max_old_space_size=4096'
run: |
yarn install --immutable
- name: Run lint
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_OPTIONS: '--max_old_space_size=4096'
run: |
yarn lint