Skip to content

Add CI job for enterprise build #46

Add CI job for enterprise build

Add CI job for enterprise build #46

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name != 'main' || github.sha }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: pre-commit/[email protected]
with:
extra_args: --all-files
- run: npm install
- run: npm run prettier:check
- run: npm run build
test-enterprise:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: pre-commit/[email protected]
with:
extra_args: --all-files
- run: npm install
- run: npm run prettier:check
- run: npm run build:enterprise