Skip to content

Commit

Permalink
v0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Ouyang committed Oct 9, 2024
1 parent 96291bc commit c29b614
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Build

on:
push:
tags-ignore:
- '**'
pull_request:
workflow_dispatch:

Expand All @@ -10,10 +12,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '22'

Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ on:

jobs:
publish:
permissions:
contents: write
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '22'

Expand All @@ -36,9 +38,10 @@ jobs:
npm publish --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
continue-on-error: true

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.PAGE_TOKEN }}
publish_dir: ./dist # 假设你的页面构建输出在 dist 目录
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@a993576769/virtual-list",
"version": "0.0.3",
"version": "0.0.4",
"description": "Virtual list for Vue 3",
"author": "a993576769",
"license": "MIT",
Expand Down

0 comments on commit c29b614

Please sign in to comment.