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 Nov 25, 2023
1 parent dc00f91 commit 3d495d5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ on:
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: 'https://registry.npmjs.org'

- name: Look Changelog
Expand Down Expand Up @@ -86,7 +89,7 @@ jobs:
${{ steps.changelog.outputs.changelog }}
- run: npm publish
- run: npm publish --access public --provenance
continue-on-error: true
working-directory: packages/core
env:
Expand Down
6 changes: 3 additions & 3 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
</p>

<p align="center">
<a href="https://jaywcjlove.github.io/#/sponsor">
<img alt="Buy me a coffee" src="https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee">
</a>
<a href="https://github.com/jaywcjlove/mocker-api/actions">
<img alt="Build & Deploy" src="https://github.com/jaywcjlove/mocker-api/workflows/Build%20and%20Deploy/badge.svg">
</a>
Expand All @@ -20,9 +23,6 @@
<a href="https://gitee.com/jaywcjlove/mocker-api">
<img alt="Release" src="https://jaywcjlove.github.io/sb/ico/gitee.svg">
</a>
<a href="https://jaywcjlove.github.io/#/sponsor">
<img alt="Buy me a coffee" src="https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee">
</a>
</p>

<p align="center">
Expand Down
6 changes: 3 additions & 3 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@


<p align="center">
<a href="https://jaywcjlove.github.io/#/sponsor">
<img alt="Buy me a coffee" src="https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee">
</a>
<a href="https://github.com/jaywcjlove/mocker-api/actions">
<img alt="Build & Deploy" src="https://github.com/jaywcjlove/mocker-api/actions/workflows/ci.yml/badge.svg">
</a>
Expand All @@ -24,9 +27,6 @@
<a href="https://www.npmjs.com/package/mocker-api">
<img alt="npm version" src="https://img.shields.io/npm/v/mocker-api.svg">
</a>
<a href="https://jaywcjlove.github.io/#/sponsor">
<img alt="Buy me a coffee" src="https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee">
</a>
</p>

<p align="center">
Expand Down

0 comments on commit 3d495d5

Please sign in to comment.