mirror of
https://github.com/chenasraf/DefinitelyTyped-tools.git
synced 2026-05-18 01:49:03 +00:00
Get smarter
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
||||
github.event_name == 'repository_dispatch' ||
|
||||
github.event_name == 'issue_comment'
|
||||
&& github.event.issue.number == 1
|
||||
&& github.actor == 'andrewbranch'
|
||||
&& (github.actor == 'andrewbranch' || github.actor == 'sandersn')
|
||||
&& startsWith(github.event.comment.body, '/deploy publisher')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
@@ -113,10 +113,11 @@ selectNodeVersion
|
||||
if [ -e "$DEPLOYMENT_TARGET/package.json" ]; then
|
||||
cd "$DEPLOYMENT_TARGET"
|
||||
echo "Installing yarn"
|
||||
$NPM_CMD install --global yarn@1.19.2
|
||||
eval $NPM_CMD install --global yarn@1.19.2
|
||||
rm -rf node_modules
|
||||
echo "Running yarn install --frozen-lockfile --production"
|
||||
npx yarn install --frozen-lockfile --production
|
||||
NPM_BIN=`eval $NPM_CMD --global bin`
|
||||
"$NPM_BIN/yarn" install --frozen-lockfile --production
|
||||
exitWithMessageOnError "yarn failed"
|
||||
cd - > /dev/null
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user