Skip to content

Commit 67766dc

Browse files
committed
added release workflow
1 parent 1e6abcf commit 67766dc

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish Package
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-node@v3
11+
with:
12+
node-version: "18.x"
13+
registry-url: "https://registry.npmjs.org"
14+
- run: npm ci
15+
- run: npm publish
16+
env:
17+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "refable",
33
"displayName": "Refable",
4-
"version": "0.0.18",
4+
"version": "0.0.19",
55
"description": "Super simple JS framework.",
66
"keywords": [
77
"html",

0 commit comments

Comments
 (0)