Skip to content

Commit 03cd27c

Browse files
committed
fix(ci): correct test workflow file extension (#33)
1 parent 94d9587 commit 03cd27c

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

.github/workflows/check-pr.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55

66
jobs:
77
check-pr:
8+
needs: tests
89
runs-on: ubuntu-latest
910
steps:
1011
- name: Checkout repository
@@ -37,6 +38,4 @@ jobs:
3738
run: yarn build
3839

3940
tests:
40-
needs: check-pr
41-
uses: ./.github/workflows/tests.yml
42-
41+
uses: ./.github/workflows/tests.yaml

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ on:
88

99
jobs:
1010
tests:
11-
uses: ./.github/workflows/tests.yml
11+
uses: ./.github/workflows/tests.yaml
1212
release:
13-
needs: test
13+
needs: tests
1414
runs-on: ubuntu-latest
1515

1616
steps:

.github/workflows/tests.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ jobs:
77
tests:
88
runs-on: ubuntu-latest
99

10-
needs: check-pr
11-
1210
strategy:
1311
matrix:
1412
node-version: [14.x, 16.x, 18.x, 20.x, 22.x]
@@ -24,7 +22,7 @@ jobs:
2422
cache: yarn
2523

2624
- name: Install dependencies
27-
run: yarn install --frozen-lockfile
25+
run: yarn install --frozen-lockfile --ignore-engines
2826

2927
- name: Run Tests
3028
run: yarn test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"coverage": "vitest --coverage",
3939
"reset-hard": "git clean -dfx && git reset --hard && yarn install",
4040
"prepare-release": "run-s reset-hard test",
41-
"prepare": "husky",
41+
"prepare": "husky || true",
4242
"release": "semantic-release"
4343
},
4444
"dependencies": {

0 commit comments

Comments
 (0)