File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 build :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v2
13- - uses : actions/setup-node@v1
14- with :
15- node-version : ' 12 .x'
16- registry-url : ' https://registry.npmjs.org'
17- - name : release on npm
18- run : |
19- npm ci
20- npm run build
21- - run : npm publish
22- env :
23- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
12+ - uses : actions/checkout@v3
13+ - uses : actions/setup-node@v3
14+ with :
15+ node-version : ' 18 .x'
16+ registry-url : ' https://registry.npmjs.org'
17+ - name : release on npm
18+ run : |
19+ yarn install --frozen-lockfile
20+ yarn build
21+ - run : npm publish
22+ env :
23+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -192,25 +192,25 @@ https://microcmsio.github.io/react-hooks-use-modal/
192192### Setup
193193
194194` ` `
195- $ npm install
195+ $ yarn
196196` ` `
197197
198198### Build src
199199
200200` ` `
201- $ npm run build
201+ $ yarn build
202202` ` `
203203
204204### Watch src
205205
206206` ` `
207- $ npm run watch
207+ $ yarn watch
208208` ` `
209209
210210### Start demo
211211
212212` ` `
213- $ npm run start: demo
213+ $ yarn start: demo
214214` ` `
215215
216216Then access it on http://localhost:3001/react-hooks-use-modal
You can’t perform that action at this time.
0 commit comments