Skip to content

Commit 5e48a54

Browse files
author
Denise Broekman
committed
chore: update release action
1 parent f4c38a5 commit 5e48a54

File tree

2 files changed

+6
-38
lines changed

2 files changed

+6
-38
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/release-please.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,17 @@ jobs:
3434
if: ${{ steps.release.outputs.release_created }}
3535
run: npm ci
3636

37+
# Run tests before building/publishing
38+
- name: Test
39+
if: ${{ steps.release.outputs.release_created }}
40+
run: npm test
41+
3742
# Build the package if a release was created
3843
- name: Build
3944
if: ${{ steps.release.outputs.release_created }}
4045
run: npm run build
4146

42-
# Publish to npm (commented out until you're ready)
43-
# Uncomment when ready to publish to npm and add NPM_TOKEN secret
47+
# Publish to npm
4448
- name: Publish to npm
4549
if: ${{ steps.release.outputs.release_created }}
4650
run: npm publish

0 commit comments

Comments
 (0)