Skip to content

Commit

Permalink
Merge pull request #40 from microsoft/introduce-ci-pipeline
Browse files Browse the repository at this point in the history
Introduce a CI pipeline.
  • Loading branch information
iclanton authored Sep 10, 2024
2 parents 4f4709f + c48ceef commit d7fe48e
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI
on:
push:
branches: ['main']
pull_request:
branches: ['main']
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: 'spfx-gulp-tools CI build'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Git config user
run: |
git config --local user.name "Rushbot"
git config --local user.email "[email protected]"
- uses: actions/setup-node@v3
with:
node-version: 18.18.x

- 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

0 comments on commit d7fe48e

Please sign in to comment.