8000 ci: update workflows config. · kktjs/kkt@3e60d56 · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
ci: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 22, 2024
1 parent bb80fbe commit 3e60d56
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ jobs:
windows:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: Look Changelog
uses: jaywcjlove/changelog-generator@main
Expand Down Expand Up @@ -95,10 +96,10 @@ jobs:
contents: write
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: 'https://registry.npmjs.org'

- run: npm install
Expand Down Expand Up @@ -130,7 +131,7 @@ jobs:
Zip: https://kktjs.github.io/zip/
EOF
- run: npm install idoc@1.27.2 -g
- run: npm install idoc@1 -g
- run: idoc
working-directory: core
- run: cp -rp core/dist/* ./build
Expand Down Expand Up @@ -278,7 +279,7 @@ jobs:
uses: jaywcjlove/changelog-generator@main

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
commit_message: ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -438,7 +439,7 @@ jobs:
EOF
- name: Upload *.zip Files
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
commit_message: ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
personal_token: ${{ secrets.PERSONAL_TOKEN_KKT }}
Expand All @@ -448,7 +449,7 @@ jobs:
publish_dir: ./zip

- name: Upload *.zip Files
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
commit_message: ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
personal_token: ${{ secrets.PERSONAL_TOKEN_KKT }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: 'https://registry.npmjs.org'

- run: npm install
- run: npm run build
Expand Down

0 comments on commit 3e60d56

Please sign in to comment.
0