Skip to content

Commit d6455dd

Browse files
committed
added release workflow
1 parent 58c6210 commit d6455dd

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": "prettier-plugin-ejs",
33
"displayName": "Prettier EJS Plugin",
4-
"version": "0.0.18",
4+
"version": "0.0.19",
55
"description": "A Prettier plugin for Embedded JavaScript Templating (EJS).",
66
"keywords": [
77
"prettier",

0 commit comments

Comments
 (0)