mirror of
https://github.com/catppuccin/web-file-explorer-icons.git
synced 2026-01-09 05:50:49 +08:00
49 lines
850 B
YAML
49 lines
850 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
tags-ignore: [v*]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
env:
|
|
PUPPETEER_SKIP_DOWNLOAD: true
|
|
|
|
jobs:
|
|
ci:
|
|
name: CI
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install pnpm
|
|
uses: pnpm/action-setup@v2
|
|
|
|
- name: Setup node
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
cache: pnpm
|
|
node-version: lts/*
|
|
|
|
- name: Install dependencies
|
|
run: pnpm i --frozen-lockfile
|
|
|
|
- name: Lint files
|
|
run: pnpm lint
|
|
|
|
- name: Typecheck
|
|
run: pnpm typecheck
|
|
|
|
- name: Build extension
|
|
run: pnpm build
|
|
|
|
- name: Package extension
|
|
uses: haaleo/publish-vscode-extension@v1
|
|
with:
|
|
pat: _
|
|
dependencies: false
|
|
dryRun: true
|