Skip to content

Commit

Permalink
v0.1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
nshen committed May 20, 2022
1 parent e8016a3 commit 48162e3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/publish-to-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish to NPM
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies and build
run: npm install && npm run build
- name: Publish package on NPM
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": "vite-plugin-wasm-pack",
"version": "0.1.11",
"version": "0.1.12",
"description": "Vite plugin for rust using wasm-pack 🦀",
"main": "dist/index.js",
"module": "esm/index.js",
Expand Down

0 comments on commit 48162e3

Please sign in to comment.