From 8f6d485d2d67c863a976d2f914e8de07585d177b Mon Sep 17 00:00:00 2001 From: mazen-r Date: Mon, 21 Oct 2024 12:05:59 +0300 Subject: [PATCH] add build step --- .github/workflows/publish.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index a02b289..c6046de 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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