Skip to content

Commit

Permalink
Update publish toolchain version
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghaochen2024 committed Jun 24, 2024
1 parent dbeb7fb commit 5da59b3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: false

- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -40,6 +41,8 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
directory: ./cmd
file: coverage.txt
Expand Down Expand Up @@ -67,7 +70,7 @@ jobs:
cp src/index.d.ts ./dist
- name: NPM Publish
uses: JS-DevTools/npm-publish@v2
uses: JS-DevTools/npm-publish@v3
with:
token: ${{secrets.NPM_TOKEN}}
token: ${{ secrets.NPM_TOKEN }}
package: ./dist/package.json

0 comments on commit 5da59b3

Please sign in to comment.