-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaction.yml
More file actions
33 lines (29 loc) · 850 Bytes
/
Copy pathaction.yml
File metadata and controls
33 lines (29 loc) · 850 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
32
33
name: 'Validate cursor-theme.json'
description: 'Validates a `cursor-theme.json` file.'
inputs:
cursor_theme_json:
description: 'The `cursor-theme.json` file to generate the cursor theme from.'
required: true
runs:
using: 'composite'
steps:
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
cache-dependency-path: .
- name: Install dependencies
working-directory: ${{ github.action_path }}
run: pnpm i
shell: bash
- name: Validate cursor-theme.json
working-directory: ${{ github.action_path }}
env:
INPUT_CURSOR_THEME_JSON: ${{ github.workspace }}/${{ inputs.cursor_theme_json }}
run: node dist/main.js
shell: bash