Skip to content

chore: update package file to include readme, repo and keywords #12

chore: update package file to include readme, repo and keywords

chore: update package file to include readme, repo and keywords #12

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- main
jobs:
sherif:
name: Monorepo Sherif
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Run sherif
run: pnpm dlx sherif@latest
lint:
name: Lint and Format
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm run eslint:check
- name: Format
run: pnpm run prettier:check
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build package
run: pnpm run build-package
- name: Install Playwright browsers
run: pnpm dlx playwright install --with-deps
- name: Run tests
run: pnpm test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playground/playwright-report/
retention-days: 30