Skip to content

Commit

Permalink
Prepare publish
Browse files Browse the repository at this point in the history
  • Loading branch information
henrmota committed Oct 22, 2024
1 parent 8bad559 commit f2fa063
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish to npm

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org/'
- run: npm install
- run: npm version patch
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shiki-mdx",
"version": "1.0.0",
"version": "0.0.1",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
Empty file added readme.md
Empty file.

0 comments on commit f2fa063

Please sign in to comment.