From 1879fcd75c076a3fe6712c6619f74e1307c855d8 Mon Sep 17 00:00:00 2001 From: topce Date: Thu, 26 Dec 2024 11:01:43 +0100 Subject: [PATCH] add install and build --- .github/workflows/publish.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 1ed646e..446d5e9 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -15,6 +15,8 @@ jobs: with: node-version: '20.x' registry-url: 'https://registry.npmjs.org' + - run: npm i + - run: npm run build - run: npm publish --provenance --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file