Skip to content

Commit

Permalink
wasm-pack 0.10.0 does not needed the patch for adding sourmash_bg.js
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Jul 7, 2021
1 parent 0d6bc46 commit 196dce2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 28 deletions.
14 changes: 0 additions & 14 deletions .ci/patch_npm_package

This file was deleted.

11 changes: 3 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ jobs:
toolchain: stable
target: wasm32-unknown-unknown

- uses: actions-rs/install@v0.1
- uses: actions-rs/cargo@v1
with:
crate: wasm-pack
version: latest
command: install
args: --force wasm-pack --version 0.10.0

- name: Prepare node for running tests
uses: actions/setup-node@v1
Expand All @@ -197,11 +197,6 @@ jobs:
- name: run wasm-pack build
run: wasm-pack build src/core -d ../../pkg

- name: fix wasm-pack package.json
working-directory: pkg
run: |
patch -p0 <../.ci/patch_npm_package
- name: Prepare package for NPM publishing
working-directory: pkg
run: npm pack
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/rust_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,11 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: install
args: --force wasm-pack --version 0.9.1
args: --force wasm-pack --version 0.10.0
- name: run wasm-pack
run: |
wasm-pack build src/core -d ../../pkg
- name: fix wasm-pack package.json
working-directory: pkg
run: |
patch -p0 <../.ci/patch_npm_package
- name: Prepare node for NPM publishing
uses: actions/setup-node@v1
with:
Expand Down

0 comments on commit 196dce2

Please sign in to comment.