From 808c9732cf1610fbbbd8c50462f75c9fdb9c520d Mon Sep 17 00:00:00 2001 From: Bishakh Ghosh Date: Sat, 3 Jun 2023 16:06:14 +0530 Subject: [PATCH] Fix ci for npm publish --- .github/workflows/npm-publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index a66433e..1f5af52 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -9,7 +9,6 @@ on: jobs: publish-npm: - needs: build runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -17,6 +16,8 @@ jobs: with: node-version: 16 registry-url: https://registry.npmjs.org/ + - run: npm install + - run: npm build-lib - run: npm ci - run: npm publish --access=public env: