Repository navigation
57 lines (52 loc) · 1.59 KB
/
Copy pathicons.yml
File metadata and controls
57 lines (52 loc) · 1.59 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Icon codegen
on:
pull_request:
paths:
- 'assets/icons/**'
- 'assets/nano-icons/**'
- 'scripts/icons/**'
- 'src/components/icons/**'
- 'app.config.js'
- 'package.json'
- 'pnpm-lock.yaml'
- '.github/workflows/icons.yml'
push:
branches:
- main
paths:
- 'assets/icons/**'
- 'assets/nano-icons/**'
- 'scripts/icons/**'
- 'src/components/icons/**'
- 'app.config.js'
- 'package.json'
- 'pnpm-lock.yaml'
- '.github/workflows/icons.yml'
concurrency:
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}'
cancel-in-progress: true
permissions:
contents: read
jobs:
check:
name: Check generated icons
runs-on: ubuntu-latest
steps:
# Temporary until fixed runner images roll out:
# https://github.com/actions/runner-images/issues/15018
- name: Update Ubuntu CA certificates
run: |
sudo apt-get update -qq
sudo apt-get install --only-upgrade --no-install-recommends -y ca-certificates
- name: ⬇️ Check out Git repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
- name: 🔧 Install node
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version-file: package.json
cache: pnpm
- name: 📦 pnpm install
run: pnpm install --frozen-lockfile
- name: 🖼️ Check generated icons
run: pnpm icons:check