Skip to content

Commit dd33713

Browse files
committed
fix: clean up actions
1 parent 405c88d commit dd33713

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.github/workflows/prerelease-checks.yml

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
workflow_call:
55

66
jobs:
7-
87
check-commit-ancestor:
98
name: Check commit ancestor
109
runs-on: ubuntu-latest

.github/workflows/release.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ on:
66
- release/*
77

88
jobs:
9-
109
pre-release-check:
11-
uses: cucumber/cucumber-react/.github/workflows/prerelease-checks.yml@add-release-workflow
10+
uses: ./.github/workflows/prerelease-checks.yml
1211

1312
test:
14-
uses: cucumber/cucumber-react/.github/workflows/test.yml@add-release-workflow
13+
uses: ./.github/workflows/test.yml
1514

1615
publish-npm:
1716
name: Publish NPM module
@@ -21,17 +20,13 @@ jobs:
2120

2221
steps:
2322
- uses: actions/checkout@v3
24-
2523
- uses: actions/setup-node@v3
2624
with:
2725
node-version: 20.x
2826
cache: 'npm'
2927
cache-dependency-path: package-lock.json
30-
31-
- run: npm install-ci-test
32-
28+
- run: npm ci
3329
- run: npm run compile
34-
3530
- uses: cucumber/[email protected]
3631
with:
3732
npm-token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)