Skip to content

Changes:

Changes: #141

Workflow file for this run

name: ci
on:
push:
branches: [ master ]
paths:
- src
- test
- package.json
- pnpm-lock.json
- .github/workflows/ci.yml
jobs:
test:
runs-on: ubuntu-20.04
name: Test on Node 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: PNPM setup
uses: pnpm/action-setup@v3
- name: Deno Setup
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Node Setup
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install Dependencies
run: pnpm install --no-frozen-lockfile
- name: Install Playwright
run: pnpm exec playwright install
- name: Lint
run: pnpm lint
- name: Build
run: pnpm build
- name: ViTest
run: pnpm test
- name: Upload coverage report to coveralls.io...
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}