Skip to content

update

update #104

Workflow file for this run

name: ci
on: push
jobs:
test:
runs-on: ubuntu-20.04
name: Test on Node 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install
run: pnpm install --no-frozen-lockfile
- name: Install Playwright
run: pnpm exec playwright install
- name: Lint
run: pnpm lint
- name: Build JS
run: pnpm build
- name: Build CSS
run: pnpm compile-scss
- name: Copy CSS
run: pnpm copy-css-cp
- name: Copy JS
run: pnpm docs
- name: Clean coverage
run: pnpm clean-coverage
- name: Run tests
run: pnpm test
- name: Upload coverage report on to coveralls.io...
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}