File tree 7 files changed +51860
-19643
lines changed
7 files changed +51860
-19643
lines changed Original file line number Diff line number Diff line change 22
22
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23
23
shell : pwsh
24
24
run : |
25
- set NODE_OPTIONS=--openssl-legacy-provider
26
25
$sha = (git rev-parse --short HEAD)
27
- npm i -g yarn
28
- yarn set version berry
29
- yarn --silent
30
- $env:SHORT_SHA=$sha; yarn release
26
+ npm install
27
+ $env:SHORT_SHA=$sha; npm run release
31
28
32
29
- name : Move artifacts
33
30
id : vars
Original file line number Diff line number Diff line change @@ -19,16 +19,13 @@ jobs:
19
19
- uses : actions/checkout@v2
20
20
- uses : actions/setup-node@v2
21
21
with :
22
- node-version : ' 16.10.0 '
22
+ node-version : ' 16'
23
23
24
24
- name : Build
25
25
run : |
26
- set NODE_OPTIONS=--openssl-legacy-provider
27
26
$sha = (git rev-parse --short HEAD)
28
- npm i -g yarn
29
- yarn set version berry
30
- yarn install --silent
31
- $env:SHORT_SHA=$sha; yarn build:ci
27
+ npm install
28
+ $env:SHORT_SHA=$sha; npm run build:ci
32
29
33
30
- name : Move artifacts
34
31
id : vars
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
. " $( dirname " $0 " ) /_/husky.sh"
3
3
4
- npx lint-staged
4
+ npm test
Original file line number Diff line number Diff line change @@ -59,25 +59,24 @@ Check https://github.com/cangzhang/champ-r/wiki/FAQ
59
59
60
60
### Prerequisite
61
61
62
- - [ Node.js] ( https://nodejs.org/en/ ) >= 10
63
- - [ yarn] ( https://classic.yarnpkg.com/lang/en/ )
62
+ - [ Node.js] ( https://nodejs.org/en/ ) >= 14
64
63
65
64
### Install dependencies
66
65
67
66
``` console
68
- yarn
67
+ npm install
69
68
```
70
69
71
70
### Start
72
71
73
72
``` console
74
- yarn start
73
+ npm run start
75
74
```
76
75
77
76
### Build
78
77
79
78
``` console
80
- yarn build:local
79
+ npm run build:local
81
80
```
82
81
83
82
You can’t perform that action at this time.
0 commit comments