From 7eca695b74d451c7c2d78c77bb330c2cf5dc3557 Mon Sep 17 00:00:00 2001 From: Marten de Bruijn Date: Sat, 20 Jul 2024 23:55:53 +0200 Subject: [PATCH] fix(ci/cd): add deploy pipeline --- .github/workflows/actions.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 9772cc9..c2c8375 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -37,3 +37,18 @@ jobs: node-version: 22 - run: npm ci - run: npm run build + + deploy: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 + - run: npm ci + - run: npm config set allow-same-version true + - run: npm config set git-tag-version false + - run: npm run build + - run: npm version "$CI_COMMIT_TAG" + - run: npm publish