From 33f018638733737afc54c0944fcd07df6f324c20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20Gon=C3=A7alves?= Date: Sun, 5 May 2024 22:38:46 +0100 Subject: [PATCH] :sparkles: feat: add github workflow --- .github/workflows/publish.yml | 20 ++++++++++++++++++++ package.json | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..44657cc --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,20 @@ +on: + push: + branches: + - main + tags: + - "*" + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + with: + node-version: "20" + - run: npm ci + - run: npm test + - uses: JS-DevTools/npm-publish@v3 + with: + token: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index a177ea4..068001f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@chrissgon/perfectui", - "version": "0.10.2", + "version": "0.11.0", "displayName": "Perfect UI", "description": "An exceptionally lightweight and highly customizable CSS and JavaScript library for crafting elegant user interfaces.", "private": false,