Skip to content

feat!: merge Shikiji back into Shiki for v1.0 #1

feat!: merge Shikiji back into Shiki for v1.0

feat!: merge Shikiji back into Shiki for v1.0 #1

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: pnpm setup
uses: pnpm/action-setup@v2
- name: Install dependencies
run: pnpm install
- run: pnpm run update
- run: pnpm run build
- run: pnpm run gen
working-directory: ./packages/site
- run: pnpm run test
- name: Install E2E test browsers
if: runner.os != 'Windows'
run: pnpm exec playwright install --with-deps chromium
- name: Run E2E tests
if: runner.os != 'Windows'
run: pnpm run test:e2e
- name: Upload E2E results
uses: actions/upload-artifact@v3
if: runner.os != 'Windows'
with:
name: playwright-report
path: playwright-report/
retention-days: 30