File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1717 - uses : actions/setup-node@v4
1818 with :
1919 node-version : ' 24'
20- registry-url : ' https://registry.npmjs.org'
21- - run : npm install
20+ - run : npm ci
2221 - run : npm run build
2322 - run : npm test
2423 - run : npm publish --provenance
Original file line number Diff line number Diff line change 1+ name : NPM Test
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches : ['master']
7+ pull_request :
8+ branches : ['master']
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : actions/setup-node@v4
17+ with :
18+ node-version : ' 24'
19+ cache : ' npm'
20+ - run : npm ci
21+ - run : npm run build --if-present
22+ - run : npm test
Original file line number Diff line number Diff line change 44
55> 此 behavior 依赖开发者工具的 npm 构建。具体详情可查阅[ 官方 npm 文档] ( https://developers.weixin.qq.com/miniprogram/dev/devtools/npm.html ) 。
66
7- 注意: 4.0.0 大版本变更了最基本的接口名,从低版本升级到 4.0.0 以上时请注意 [ #60 ] ( https://github.com/wechat-miniprogram/computed/issues/60 ) 的问题。
7+ > 注意: 4.0.0 大版本变更了最基本的接口名,从低版本升级到 4.0.0 以上时请注意 [ #60 ] ( https://github.com/wechat-miniprogram/computed/issues/60 ) 的问题。
88
9+ [ ![ npm version] ( https://img.shields.io/npm/v/miniprogram-computed.svg )] ( https://www.npmjs.com/package/miniprogram-computed )
10+ [ ![ Build Status] ( https://img.shields.io/github/actions/workflow/status/wechat-miniprogram/computed/ci.yml )] ( https://github.com/wechat-miniprogram/computed/actions )
911
1012## 使用方法
1113
You can’t perform that action at this time.
0 commit comments