Skip to content

chore(deps): bump oxc-parser from 0.110.0 to 0.121.0 in /fe #356

chore(deps): bump oxc-parser from 0.110.0 to 0.121.0 in /fe

chore(deps): bump oxc-parser from 0.110.0 to 0.121.0 in /fe #356

Workflow file for this run

name: Frontend Tests
on:
pull_request:
paths:
- 'fe/**'
push:
paths:
- 'fe/**'
workflow_dispatch:
jobs:
test:
name: Run Frontend Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
working-directory: ./fe
run: pnpm install
- name: Run linter
working-directory: ./fe
run: pnpm lint
- name: Build packages
working-directory: ./fe
run: pnpm --filter "@dimina/common" --filter "@dimina/compiler" build
- name: Run tests
working-directory: ./fe
run: pnpm test