Skip to content

Commit 727d28d

Browse files
committed
chore: add CI workflow for testing and disable labeler jobs
1 parent a9bbda2 commit 727d28d

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

.github/workflows/pr-labeler.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
jobs:
88
triage:
9+
if: false
910
runs-on: ubuntu-latest
1011
steps:
1112
- uses: actions/labeler@v3

.github/workflows/push-master.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '**'
7+
push:
8+
branches:
9+
- master
10+
- main
11+
12+
jobs:
13+
test:
14+
name: Test
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
matrix:
19+
node-version: [22.x]
20+
21+
steps:
22+
- name: Checkout repository
23+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # pin@v5.0.0
24+
25+
- name: Set up Node.js ${{ matrix.node-version }}
26+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # pin@v5.0.0
27+
with:
28+
node-version: ${{ matrix.node-version }}
29+
cache: 'yarn'
30+
31+
- name: Install dependencies
32+
run: yarn install --frozen-lockfile
33+
34+
- name: Run tests
35+
run: yarn test
36+

.github/workflows/sponsors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
types: [opened]
99
jobs:
1010
build:
11+
if: false
1112
name: is-sponsor-label
1213
runs-on: ubuntu-latest
1314
steps:

0 commit comments

Comments
 (0)