chore: setup CI/CD pipelines: check, playwright, bundle analyzer

This commit is contained in:
Bart Stefanski 2023-04-21 12:02:52 +02:00
parent f9b249c90a
commit 518863cd4a
10 changed files with 173 additions and 21 deletions

21
.github/workflows/check.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Check
on:
pull_request:
workflow_dispatch:
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: echo "node_version=$(cat .github/nodejs.version)" >> $GITHUB_ENV
- name: use node ${{ env.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.node_version }}
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn prettier
- run: yarn test