-
-
Notifications
You must be signed in to change notification settings - Fork 83
31 lines (27 loc) · 851 Bytes
/
ci.yml
File metadata and controls
31 lines (27 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
on:
push:
branches: [main]
pull_request:
name: Lint & Build Artifact
jobs:
lint-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: 20
cache: pnpm
- run: pnpm i --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Build
run: |
pnpm --filter catppuccin-vsc core:build
pnpm --filter catppuccin-vsc core:build-ads
- name: Upload Artifact
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: catppuccin-vsc-${{ github.sha }}
path: packages/catppuccin-vsc/catppuccin-*.vsix