From 5ea4423187477255a04c11b28d3de84c734b5f33 Mon Sep 17 00:00:00 2001 From: Breno A Date: Mon, 4 Mar 2024 04:47:42 -0300 Subject: [PATCH 1/2] ci: add npm-publish --- .github/workflows/npm-publish.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml new file mode 100644 index 0000000..c8e23f0 --- /dev/null +++ b/.github/workflows/npm-publish.yml @@ -0,0 +1,18 @@ +on: + workflow_dispatch: + release: + types: [created] + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + with: + node-version: "20" + - run: npm install + - run: npm run build + - uses: JS-DevTools/npm-publish@v3 + with: + token: ${{ secrets.NPM_TOKEN }} From 42bf46926ea751f17dfef408eace1a69edd51dae Mon Sep 17 00:00:00 2001 From: Breno A Date: Mon, 4 Mar 2024 04:51:39 -0300 Subject: [PATCH 2/2] chore: bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ebc8f43..fb7a74f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vitepress-carbon", - "version": "1.0.3", + "version": "1.0.4", "description": "Carbon embraces GitHub's monochromatic ethos, offering a theme for VitePress documentation that is sleek, modern, and effortlessly stylish.", "main": "dist/index.js", "exports": {