Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95750eb
commit b8d0e53
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
ci: | ||
name: Tests and Docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Project | ||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3 | ||
- name: Use Node.js v16 | ||
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3 | ||
with: | ||
node-version: 16 | ||
cache: yarn | ||
registry-url: https://registry.yarnpkg.com/ | ||
- name: Install Dependencies | ||
run: yarn --immutable | ||
- name: Run Tests | ||
run: yarn test | ||
- name: Build docs | ||
run: yarn docs |