From 67766dc6c22eefa0421037b1ebdff6e42d901ece Mon Sep 17 00:00:00 2001 From: ecmel Date: Wed, 3 Jan 2024 23:28:54 +0300 Subject: [PATCH] added release workflow --- .github/workflows/release.yml | 17 +++++++++++++++++ package.json | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..ce08436 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,17 @@ +name: Publish Package +on: + release: + types: [published] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + with: + node-version: "18.x" + registry-url: "https://registry.npmjs.org" + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 76573b5..82181f5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "refable", "displayName": "Refable", - "version": "0.0.18", + "version": "0.0.19", "description": "Super simple JS framework.", "keywords": [ "html",