Commit 1eb92d4 1 parent a7b2581 commit 1eb92d4 Copy full SHA for 1eb92d4
File tree 7 files changed +26
-16
lines changed
7 files changed +26
-16
lines changed Original file line number Diff line number Diff line change 13
13
- uses : actions/setup-node@v3
14
14
with :
15
15
node-version : 16
16
+ - uses : pnpm/action-setup@v2
17
+ with :
18
+ version : 8
16
19
- run : git checkout master
17
- - run : npm install
18
- - run : npm install @types/node
20
+ - run : pnpm install
21
+ - run : pnpm install @types/node
19
22
- run : node scripts/generateLists.mjs
20
23
- uses : EndBug/add-and-commit@v9
21
24
with :
Original file line number Diff line number Diff line change @@ -14,12 +14,15 @@ jobs:
14
14
- uses : actions/setup-node@v1
15
15
with :
16
16
node-version : 16
17
- - run : npm install -f --production
18
- - run : npm install @types/node
19
- - run : npm run build
17
+ - uses : pnpm/action-setup@v2
18
+ with :
19
+ version : 8
20
+ - run : pnpm install -f --production
21
+ - run : pnpm install @types/node
22
+ - run : pnpm run build
20
23
- run : echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ./dist/.npmrc
21
24
env :
22
25
NPM_TOKEN : ${{secrets.npm_token}}
23
- - run : cd dist && npm publish --tag next
26
+ - run : npm publish --tag next
24
27
env :
25
28
NPM_TOKEN : ${{secrets.npm_token}}
Original file line number Diff line number Diff line change @@ -14,12 +14,15 @@ jobs:
14
14
- uses : actions/setup-node@v1
15
15
with :
16
16
node-version : 16
17
- - run : npm install -f --production
18
- - run : npm install @types/node
19
- - run : npm run build
17
+ - uses : pnpm/action-setup@v2
18
+ with :
19
+ version : 8
20
+ - run : pnpm install -f --production
21
+ - run : pnpm install @types/node
22
+ - run : pnpm run build
20
23
- run : echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ./dist/.npmrc
21
24
env :
22
25
NPM_TOKEN : ${{secrets.npm_token}}
23
- - run : cd dist && npm publish
26
+ - run : npm publish
24
27
env :
25
28
NPM_TOKEN : ${{secrets.npm_token}}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ node_modules
2
+ .prettierrc.js
3
+ .tsbuildinfo
4
+ .eslintignore
5
+ .eslintrc.cjs
6
+ .editorconfig
7
+ .gitignore
Original file line number Diff line number Diff line change 89
89
"build-types" : " tsc --emitDeclarationOnly" ,
90
90
"setup-package" : " node ./scripts/setupPackage.js" ,
91
91
"setup" : " pnpm run build-types && pnpm run setup-package && echo ✔️ Successfully built Sandstone." ,
92
- "build-pack" : " pnpm run build && cd dist && pnpm pack" ,
93
92
"publishToNpm" : " pnpm run build && pnpm publish" ,
94
93
"format" : " eslint src --cache --fix --quiet"
95
94
},
You can’t perform that action at this time.
0 commit comments