Skip to content

Commit

Permalink
ci: add github actions (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-online committed Dec 2, 2022
1 parent 95750eb commit b8d0e53
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
@@ -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

0 comments on commit b8d0e53

Please sign in to comment.