Skip to content

Commit

Permalink
fix: clean up actions
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgoss committed Dec 9, 2023
1 parent 405c88d commit 2e03caa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/prerelease-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
workflow_call:

jobs:

check-commit-ancestor:
name: Check commit ancestor
runs-on: ubuntu-latest
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ on:
- release/*

jobs:

pre-release-check:
uses: cucumber/cucumber-react/.github/workflows/prerelease-checks.yml@add-release-workflow
uses: ./.github/workflows/prerelease-checks.yml@add-release-workflow

test:
uses: cucumber/cucumber-react/.github/workflows/test.yml@add-release-workflow
uses: ./.github/workflows/test.yml@add-release-workflow

publish-npm:
name: Publish NPM module
Expand All @@ -21,17 +20,13 @@ jobs:

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'npm'
cache-dependency-path: package-lock.json

- run: npm install-ci-test

- run: npm ci
- run: npm run compile

- uses: cucumber/action-publish-npm@v1.1.0
with:
npm-token: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 2e03caa

Please sign in to comment.