Skip to content

Commit 72f0ffe

Browse files
committed
Run npm run generate in generate workflow
1 parent 234ca9b commit 72f0ffe

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/generate.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
name: Generate
33

44
on:
5-
pull_request:
6-
branches:
5+
push:
6+
branches-ignore:
77
- main
88
workflow_dispatch: {}
99

@@ -14,12 +14,12 @@ jobs:
1414
timeout-minutes: 30
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
ref: ${{ github.head_ref }}
2020
token: ${{ secrets.GH_TOKEN }}
2121
- name: Import GPG key
22-
uses: crazy-max/ghaction-import-gpg@v5
22+
uses: crazy-max/ghaction-import-gpg@v6
2323
with:
2424
git_user_signingkey: true
2525
git_commit_gpgsign: true
@@ -32,11 +32,11 @@ jobs:
3232
with:
3333
install_dependencies: 'false'
3434
- name: Normalize package-lock.json
35-
run: npm install --ignore-scripts
36-
env:
37-
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}
35+
run: npm install
36+
- name: Generate code
37+
run: npm run generate
3838
- name: Commit
39-
uses: stefanzweifel/git-auto-commit-action@v4
39+
uses: stefanzweifel/git-auto-commit-action@v5
4040
with:
4141
commit_message: 'ci: Generate code'
4242
commit_user_name: ${{ secrets.GIT_USER_NAME }}

0 commit comments

Comments
 (0)