Skip to content

Commit f5ca6e5

Browse files
added codinit-package
1 parent 9ee6907 commit f5ca6e5

File tree

7 files changed

+513
-427
lines changed

7 files changed

+513
-427
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This workflow will publish the codinit package to npm
2+
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3+
4+
name: Publish Codinit Package
5+
6+
on:
7+
push:
8+
branches:
9+
- main
10+
paths:
11+
- 'codinit/**'
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: '20.x'
21+
registry-url: 'https://registry.npmjs.org'
22+
23+
- name: Publish to npm
24+
working-directory: ./codinit
25+
run: npm publish
26+
env:
27+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)