We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11423ad commit 54b14fbCopy full SHA for 54b14fb
.github/workflows/publish.yml
@@ -0,0 +1,23 @@
1
+name: publish to npm
2
+
3
+on:
4
+ workflow_dispatch:
5
+ release:
6
+ types: [created]
7
8
+jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: actions/setup-node@v4
14
+ with:
15
+ node-version: "20"
16
+ registry-url: "https://registry.npmjs.org"
17
18
+ - run: yarn install --frozen-lockfile
19
+ - run: yarn ci
20
21
+ - run: npm publish
22
+ env:
23
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package.json
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "apigen-ts",
- "version": "0.0.3",
+ "version": "0.1.0",
"license": "MIT",
"author": "Vlad Pronsky <v.pronsky@gmail.com>",
"repository": "vladkens/apigen-ts",
0 commit comments