From 25246099acd0972bd32644d98ff8a9457d71a7cc Mon Sep 17 00:00:00 2001 From: Floran Pagliai Date: Fri, 27 Oct 2023 12:54:56 +0200 Subject: [PATCH] Change CI --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e8e0b9a..082ab0e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,9 +16,10 @@ jobs: node-version: 17 registry-url: 'https://registry.npmjs.org' - run: npm install + - run: npm run build - run: git config user.email "41898282+github-actions[bot]@users.noreply.github.com" && git config user.name "github-actions[bot]" - run: npm version ${GITHUB_REF##*/} - - run: npm run build + - run: git add . - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}