Merge pull request #33 from DavideCanton/release #68
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
name: Build and run tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
id: checkout-repo | |
name: Checkout Repository | |
- uses: actions/setup-node@v3 | |
name: Setup node | |
with: | |
node-version: '18.x' | |
- run: yarn | |
name: Install dependencies | |
- run: yarn build | |
name: Build code | |
- run: yarn test | |
name: Run tests | |
- run: yarn docs | |
name: Build docs |