-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 941 Bytes
/
sync.yml
File metadata and controls
36 lines (30 loc) · 941 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
34
35
36
name: Sync labels
on:
push:
branches: ["master"]
workflow_dispatch:
jobs:
build:
environment:
name: production
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [23.6.1]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm install -D
- name: Build project
run: npm run build
- name: Sync labels
env:
GITHUB_PAT: ${{ secrets.CUSTOM_PAT }}
run: npm run sync