Skip to content

Commit 37d6919

Browse files
leokunleokun
authored andcommitted
pub
1 parent 175a5ca commit 37d6919

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,6 @@ jobs:
3333
./preparepublishnpm.sh
3434
PACKAGEFILE=`npm pack | tail -n 1`
3535
tar -xvzf $PACKAGEFILE
36-
echo "run browser tests with npm package"
37-
rm test-browser/lg2.*
38-
cp package/lg2.* test-browser/
39-
npm run test-browser
40-
rm test-browser-async/lg2_async.*
41-
cp package/lg2_async.* test-browser-async/
42-
npm run test-browser-async
43-
BRANCH="$(git rev-parse --abbrev-ref HEAD)"
44-
if [[ "$VERSION" = "$NEWVERSION" || "$BRANCH" != "master" ]]; then
45-
echo "version change is $VERSION->$NEWVERSION, branch is $BRANCH, not publishing, only dry-run"
46-
npm publish --dry-run
47-
else
48-
npm publish
49-
fi
36+
npm publish
5037
env:
5138
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 commit comments

Comments
 (0)