Skip to content

Commit

Permalink
add build step
Browse files Browse the repository at this point in the history
  • Loading branch information
mazen-r committed Oct 21, 2024
1 parent e8ef04d commit 8f6d485
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ jobs:
- name: Clone repository
uses: actions/checkout@v3

- name: Build package
uses: actions/setup-node@v4
with:
node-version: 20
run: npm install
run: npm build

- name: Publish to NPM
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
Expand Down

0 comments on commit 8f6d485

Please sign in to comment.