Skip to content

Commit 46e34ed

Browse files
committed
CHANGES
1 parent d781d72 commit 46e34ed

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
on:
2+
push:
3+
tags:
4+
5+
'v..*'
6+
release:
7+
types: [created]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
14+
uses: actions/checkout@v3
15+
uses: actions/setup-node@v3
16+
with:
17+
node-version: '16.x'
18+
registry-url: 'https://registry.npmjs.org/'
19+
run: npm install
20+
run: npm test
21+
run: npm publish
22+
env:
23+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "prettier-for-vite-react",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "Automation for installing Prettier in a Vite-React project that will integrate the use of prettier into the project",
55
"main": "prettier-vite-react.sh",
66
"bin": {

0 commit comments

Comments
 (0)