Skip to content

Commit d747f6d

Browse files
committed
feat: action
1 parent e97cad8 commit d747f6d

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [antfu]

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
with:
14+
fetch-depth: 0
15+
- name: Set node
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 16.x
19+
20+
- name: Setup
21+
run: npm i -g @antfu/ni
22+
23+
- name: Install
24+
run: nci
25+
26+
- run: npm start
27+
env:
28+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
"node": ">=12.0.0"
3131
},
3232
"scripts": {
33-
"lint": "eslint ."
33+
"lint": "eslint .",
34+
"start": "node ./src/cli.js"
3435
},
3536
"dependencies": {
3637
"conventional-changelog": "^2.0.0",

0 commit comments

Comments
 (0)