Skip to content

Commit f73e1b6

Browse files
committed
Update update-dependencies to use new bundler
1 parent 2cddcfa commit f73e1b6

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

.github/workflows/script/update-node-modules.sh

-20
This file was deleted.

.github/workflows/update-dependencies.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
run: |
2929
git fetch origin "$BRANCH" --depth=1
3030
git checkout "origin/$BRANCH"
31-
.github/workflows/script/update-node-modules.sh update
31+
npm ci
32+
npm run build
3233
if [ ! -z "$(git status --porcelain)" ]; then
3334
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
3435
git config --global user.name "github-actions[bot]"
35-
git add node_modules
36-
git commit -am "Update checked-in dependencies"
36+
git commit -am "Update action bundles"
3737
git push origin "HEAD:$BRANCH"
38-
echo "Pushed a commit to update the checked-in dependencies." \
38+
echo "Pushed a commit to update the checked-in action bundles." \
3939
"Please mark the PR as ready for review to trigger PR checks." |
4040
gh pr comment --body-file - --repo github/codeql-action "${{ github.event.pull_request.number }}"
4141
gh pr ready --undo --repo github/codeql-action "${{ github.event.pull_request.number }}"

0 commit comments

Comments
 (0)