Skip to content

Commit e85ed01

Browse files
committed
ci: update workflows config.
1 parent 71cbd98 commit e85ed01

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
contents: write
1111
id-token: write
1212
steps:
13-
- uses: actions/checkout@v3
14-
- uses: actions/setup-node@v3
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
1515
with:
1616
node-version: 18
1717
registry-url: 'https://registry.npmjs.org'
@@ -21,7 +21,7 @@ jobs:
2121
- run: npm run create:ast
2222

2323
- name: Deploy
24-
uses: peaceiris/actions-gh-pages@v3
24+
uses: peaceiris/actions-gh-pages@v4
2525
with:
2626
github_token: ${{ secrets.GITHUB_TOKEN }}
2727
publish_dir: ./dist
@@ -42,10 +42,11 @@ jobs:
4242
head-ref: ${{steps.create_tag.outputs.version}}
4343
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
4444

45-
- name: Generate Changelog
45+
- name: Create Release
4646
uses: jaywcjlove/create-tag-action@main
4747
if: steps.create_tag.outputs.successful
4848
with:
49+
package-path: ./package.json
4950
version: ${{steps.create_tag.outputs.version}}
5051
release: true
5152
body: |
@@ -121,8 +122,8 @@ jobs:
121122
# http://localhost:9881/
122123
# ```
123124

124-
- run: npm install @jsdevtools/npm-publish -g
125-
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
125+
# - run: npm install @jsdevtools/npm-publish -g
126+
# - run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
126127

127128
- run: npm publish --access public --provenance
128129
continue-on-error: true

0 commit comments

Comments
 (0)