Merge pull request #148 from sgratzl/release/v4.4.1 #391
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: ci | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm i -g yarn | |
- run: yarn config set checksumBehavior ignore | |
- name: Cache Node.js modules | |
uses: actions/cache@v4 | |
with: | |
path: | | |
./.yarn/cache | |
./.yarn/unplugged | |
key: ${{ runner.os }}-yarn2-v5-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn2-v5 | |
- run: yarn install | |
- run: yarn build | |
- run: yarn lint | |
- run: yarn test | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: diff outputs | |
path: src/**/__diff_output__/*.png | |
- run: yarn docs:build |