Skip to content

Add GH actions

Add GH actions #1

Workflow file for this run

name: Build
concurrency:
group: $${{github.workflow}}-${{github.event.number || github.ref_name}}
cancel-in-progress: false
on:
pull_request:
push:
tags:
- 'v*'
branches:
- main
env:
NODE_OPTIONS: '--max-old-space-size=8192'
jobs:
Lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Environment Setup
uses: ./.github/actions/environment
- name: Lint
run: pnpm lint
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Environment Setup
uses: ./.github/actions/environment
- name: Build
run: pnpm build && pnpm prepack