Skip to content

Commit 2c96a15

Browse files
committed
fix(ci): checkout before test, correct check branch
1 parent fb4e067 commit 2c96a15

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/check.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ name: Check Codebase
33
on:
44
pull_request:
55
branches:
6-
- main
6+
- master
77
push:
88
branches:
9-
- main
9+
- master
10+
workflow_dispatch:
1011

1112
permissions:
1213
contents: read

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
# Steps represent a sequence of tasks that will be executed as part of the job
4242
steps:
4343
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
44+
- name: Checkout
45+
uses: actions/checkout@v4
46+
with:
47+
fetch-depth: 0
48+
4449
- name: Setup Node.js
4550
uses: actions/setup-node@v6
4651
with:

0 commit comments

Comments
 (0)