chore: setup CI/CD pipelines: check, playwright, bundle analyzer
This commit is contained in:
parent
f9b249c90a
commit
518863cd4a
10 changed files with 173 additions and 21 deletions
21
.github/workflows/check.yml
vendored
Normal file
21
.github/workflows/check.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue