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

Migrate to GitHub Actions from CircleCI #4143

Merged
merged 16 commits into from
Jun 12, 2024
41 changes: 41 additions & 0 deletions .github/workflows/pre-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Pre-merge

on:
pull_request:
branches:
- main

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Set up Node.js
uses: actions/setup-node@v4

- name: Checkout repository
uses: actions/checkout@v4

- name: Install dependencies
run: yarn install --frozen-lockfile --no-progress --non-interactive

- name: Run Lint
run: yarn ci:lint
working-directory: website

build:
runs-on: ubuntu-latest
steps:
- name: Set up Node.js
uses: actions/setup-node@v4

- name: Checkout repository
uses: actions/checkout@v4

- name: Install dependencies
run: yarn install --frozen-lockfile --no-progress --non-interactive

- name: Build
run: yarn build
working-directory: website
env:
NODE_OPTIONS: "--max_old_space_size=4096"