Skip to content

Commit 9272caf

Browse files
authored
release publish workflow (#3)
Signed-off-by: Fabian Martinez <[email protected]>
1 parent 67de855 commit 9272caf

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/pr-validation.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ jobs:
4747
run: ./scripts/test-e2e.sh
4848

4949
publish:
50-
needs: build
5150
if: startswith(github.ref, 'refs/tags/v')
5251
runs-on: ubuntu-latest
5352
# TODO environment?
@@ -62,9 +61,12 @@ jobs:
6261
node-version: ${{ env.NODE_VER }}
6362
registry-url: "https://registry.npmjs.org"
6463

65-
- name: Install dependencies
64+
- name: ⚙️ Install dependencies
6665
run: npm install
6766

67+
- name: ✅ Run unit tests
68+
run: npm test test/unit
69+
6870
- name: Build package
6971
run: npm run build-ci
7072

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)