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 builds from CircleCI to Github Actions #762

Merged
merged 7 commits into from
Oct 16, 2022
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
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
env:
FORCE_COLOR: '1'
TOOL_NODE_FLAGS: --max_old_space_size=4096
steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3

- name: Install dependencies
run: node common/scripts/install-run-rush.js install

- name: Build
run: |
rm -rf dist
node build-scripts build

- name: Checks
run: node build-scripts pre-deploy

- name: Upload build
uses: actions/upload-artifact@v3
with:
name: bemuse-build-${{ github.sha }}
path: dist