Skip to content

Commit

Permalink
Update .github/workflows/check_node.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mryhryki committed Aug 5, 2023
1 parent 96126be commit e7efe10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/check_node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
run: esbuild --bundle --platform=node ./src/test/index_node.ts | node
- name: Run test with packed tarball
run: |
set -xe
npm pack
mv ./mryhryki-simple-encryption-*.tgz ./packed.tgz
npm install ./packed.tgz
esbuild --bundle --platform=node ./src/test/index_node_with_packed_tarball.ts | node
./node_modules/.bin/esbuild --bundle --platform=node --outfile=./dist/test.js ./src/test/index_node_with_packed_tarball.ts
node ./dist/test.js

0 comments on commit e7efe10

Please sign in to comment.