Skip to content

Fix issues when porting alloy/pyroscope to android #3974

Fix issues when porting alloy/pyroscope to android

Fix issues when porting alloy/pyroscope to android #3974

Workflow file for this run

name: frontend
on:
push:
branches:
- main
pull_request:
concurrency:
# Cancel any running workflow for the same branch when new commits are pushed.
# We group both by ref_name (available when CI is triggered by a push to a branch/tag)
# and head_ref (available when CI is triggered by a PR).
group: "frontend-${{ github.ref_name }}-${{ github.head_ref }}"
cancel-in-progress: true
jobs:
type-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/hydrogen
cache: yarn
- run: yarn --frozen-lockfile
- name: Run type-check
run: yarn type-check
format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/hydrogen
cache: yarn
- run: yarn --frozen-lockfile
- name: Run format
run: yarn run format
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/hydrogen
cache: yarn
- run: yarn --frozen-lockfile
- name: Run lint
run: yarn lint
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/hydrogen
cache: yarn
- run: yarn --frozen-lockfile
- name: Run build
run: yarn build
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/hydrogen
cache: yarn
- run: yarn --frozen-lockfile
- name: Run tests
run: yarn test