Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bugfix] Fix CI #494

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 27 additions & 16 deletions .github/workflows/frontend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,36 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [20]

# pseudo-matrix for convenience, NEVER use more than a single combination
node: [20]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: install pnpm
shell: bash
run: |
PNPM_VER=9.5.0
echo installing pnpm version $PNPM_VER
npm i -g pnpm@$PNPM_VER
working-directory: paimon-web-ui

- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: install
run: pnpm install --frozen-lockfile --prefer-offline --ignore-scripts
working-directory: paimon-web-ui

- name: Install dependencies
run: npm install
working-directory: paimon-web-ui

- name: Build
run: npm run build
working-directory: paimon-web-ui
- name: Build
run: pnpm run build
working-directory: paimon-web-ui
Loading