Skip to content

feat: import highlight core only #377

feat: import highlight core only

feat: import highlight core only #377

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Triggers the workflow on push or pull request events but only for the master branch
on:
# push:
# branches: "*"
pull_request:
branches: "*"
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 6.32.12
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Lint code
run: pnpm lint
- name: Run Build
run: pnpm build
- name: Run tests
run: pnpm test