Skip to content

Commit

Permalink
add an action to release on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Jul 6, 2023
1 parent 94661d3 commit 45ce8c7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release

on:
push:
tags:
- v*

env:
CARGO_TERM_COLOR: always

jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

# remove scope or update it once we decide exactly where we want to deploy this thing
- run: wasm-pack build --target nodejs --scope=real_ate
- run: npm publish
working-directory: pkg

0 comments on commit 45ce8c7

Please sign in to comment.