mirror of
https://github.com/tiktok/sparo.git
synced 2025-01-08 05:11:58 -05:00
c48b5c0cec
Based on GitLab commit b7d0c1d555c9358a7fb2141b14730bcdb85c0654
27 lines
777 B
YAML
27 lines
777 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 2
|
|
- name: Git config user
|
|
uses: snow-actions/git-config-user@v1.0.0
|
|
with:
|
|
name: # Service Account's Name
|
|
email: # Service Account's Email Address
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16
|
|
- name: Verify Change Logs
|
|
run: node common/scripts/install-run-rush.js change --verify
|
|
- name: Rush Install
|
|
run: node common/scripts/install-run-rush.js install
|
|
- name: Rush rebuild
|
|
run: node common/scripts/install-run-rush.js rebuild --verbose --production
|