Skip to content

Commit

Permalink
fix(ci): insert *_bg files in @swc/wasm-web (#1291) (#1293)
Browse files Browse the repository at this point in the history
  • Loading branch information
9oelM authored Dec 26, 2020
1 parent dd977ff commit 066bb4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-wasm-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
sed -i'' -e 's/"name": "@swc\/wasm"/"name": "@swc\/wasm-web"/g' package.json
working-directory: wasm/pkg

- name: Include *_bg files
run: jq '.files += ["wasm_bg.js", "wasm_bg.wasm.d.ts"]' package.json
working-directory: wasm/pkg

- name: Publish
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
Expand Down

0 comments on commit 066bb4e

Please sign in to comment.